00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef AQBANKING_ERROR_H
00015 #define AQBANKING_ERROR_H
00016
00018 #define AQBANKING_NOWARN_DEPRECATED
00019
00020
00021 #ifdef __declspec
00022 # if BUILDING_AQBANKING_DLL
00023 # define AQBANKING_API __declspec (dllexport)
00024 # else
00025 # define AQBANKING_API __declspec (dllimport)
00026 # endif
00027 #else
00028 # define AQBANKING_API
00029 #endif
00030
00031 #ifndef AQBANKING_NOWARN_DEPRECATED
00032 # ifdef __GNUC__
00033 # define AQBANKING_DEPRECATED __attribute((__deprecated__))
00034 # else
00035 # define AQBANKING_DEPRECATED
00036 # endif
00037 # else
00038 # define AQBANKING_DEPRECATED
00039 #endif
00040
00041 #define AQBANKING_LOGDOMAIN "aqbanking"
00042
00043
00048 #define AB_ERROR_SUCCESS 0
00049 #define AB_ERROR_GENERIC (-1)
00050 #define AB_ERROR_NOT_SUPPORTED (-2)
00051 #define AB_ERROR_NOT_AVAILABLE (-3)
00052 #define AB_ERROR_BAD_CONFIG_FILE (-4)
00053 #define AB_ERROR_INVALID (-5)
00054 #define AB_ERROR_NETWORK (-6)
00055 #define AB_ERROR_NOT_FOUND (-7)
00056 #define AB_ERROR_EMPTY (-8)
00057 #define AB_ERROR_USER_ABORT (-9)
00058 #define AB_ERROR_FOUND (-10)
00059 #define AB_ERROR_NO_DATA (-11)
00060 #define AB_ERROR_NOFN (-12)
00061 #define AB_ERROR_UNKNOWN_ACCOUNT (-13)
00062 #define AB_ERROR_NOT_INIT (-14)
00063 #define AB_ERROR_SECURITY (-15)
00064 #define AB_ERROR_BAD_DATA (-16)
00065 #define AB_ERROR_UNKNOWN (-17)
00066 #define AB_ERROR_ABORTED (-18)
00067 #define AB_ERROR_DEFAULT_VALUE (-19)
00068
00069 #define AB_ERROR_USER1 (-128)
00070 #define AB_ERROR_USER2 (-129)
00071 #define AB_ERROR_USER3 (-130)
00072 #define AB_ERROR_USER4 (-131)
00073
00078 #endif
00079
00080