00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef AD_ACCOUNT_H
00014 #define AD_ACCOUNT_H
00015
00016 #include <aqbanking/account_be.h>
00017 #include <aqdtaus/provider.h>
00018
00019
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024
00025 typedef struct AD_ACCOUNT AD_ACCOUNT;
00026
00027
00028 AB_ACCOUNT *AD_Account_new(AB_BANKING *ab,
00029 AB_PROVIDER *pro,
00030 const char *idForProvider);
00031
00032
00033 AB_ACCOUNT *AD_Account_fromDb(AB_BANKING *ab,
00034 GWEN_DB_NODE *db);
00035
00036 int AD_Account_toDb(const AB_ACCOUNT *acc, GWEN_DB_NODE *db);
00037
00038
00039 int AD_Account_GetMaxTransfersPerJob(const AB_ACCOUNT *acc);
00040 void AD_Account_SetMaxTransfersPerJob(AB_ACCOUNT *acc, int i);
00041
00042 int AD_Account_GetMaxPurposeLines(const AB_ACCOUNT *acc);
00043 void AD_Account_SetMaxPurposeLines(AB_ACCOUNT *acc, int i);
00044
00045 int AD_Account_GetDebitAllowed(const AB_ACCOUNT *acc);
00046 void AD_Account_SetDebitAllowed(AB_ACCOUNT *acc, int i);
00047
00048 int AD_Account_GetMountAllowed(const AB_ACCOUNT *acc);
00049 void AD_Account_SetMountAllowed(AB_ACCOUNT *acc, int i);
00050
00051 const char *AD_Account_GetMountCommand(const AB_ACCOUNT *acc);
00052 void AD_Account_SetMountCommand(AB_ACCOUNT *acc, const char *s);
00053
00054 const char *AD_Account_GetUnmountCommand(const AB_ACCOUNT *acc);
00055 void AD_Account_SetUnmountCommand(AB_ACCOUNT *acc, const char *s);
00056
00057
00058 const char *AD_Account_GetFolder(const AB_ACCOUNT *acc);
00059 void AD_Account_SetFolder(AB_ACCOUNT *acc, const char *s);
00060
00061 int AD_Account_GetUseDisc(const AB_ACCOUNT *acc);
00062 void AD_Account_SetUseDisc(AB_ACCOUNT *acc, int i);
00063
00064 int AD_Account_GetPrintAllTransactions(const AB_ACCOUNT *acc);
00065 void AD_Account_SetPrintAllTransactions(AB_ACCOUNT *acc, int b);
00066
00067
00068
00069
00070
00071
00072
00073 #ifdef __cplusplus
00074 }
00075 #endif
00076
00077
00078 #endif