|
/****************************************************************************
|
|
* This file is part of the project AqFinance.
|
|
* AqFinance (c) by 2007 Martin Preuss, all rights reserved.
|
|
*
|
|
* The license for this file can be found in the file COPYING which you
|
|
* should have received along with this file.
|
|
****************************************************************************/
|
|
|
|
|
|
#ifndef AE_H
|
|
#define AE_H
|
|
|
|
#include <aqfinance/engine/ae_api.h>
|
|
#include <aqfinance/engine/db/aedb_db.h>
|
|
|
|
|
|
typedef enum {
|
|
AE_ProcessEventType_Unknown=-1,
|
|
AE_ProcessEventType_None=0,
|
|
AE_ProcessEventType_Request,
|
|
AE_ProcessEventType_Offer,
|
|
AE_ProcessEventType_Order,
|
|
AE_ProcessEventType_Confirmation,
|
|
AE_ProcessEventType_Delivery,
|
|
AE_ProcessEventType_Invoice,
|
|
AE_ProcessEventType_Payment
|
|
} AE_PROCESS_EVENT_TYPE;
|
|
|
|
|
|
|
|
#define AE_OBJECT_FLAGS_ATTENTION 0x80000000
|
|
#define AE_OBJECT_FLAGS_TODO 0x40000000
|
|
#define AE_OBJECT_FLAGS_IMPORTANT 0x20000000
|
|
|
|
|
|
|
|
AE_API
|
|
int AE_DbFactory(const char *url, AEDB_DB **pDb);
|
|
|
|
|
|
#endif
|
|
|