00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef AQBANKING_ERROR_H
00016 #define AQBANKING_ERROR_H
00017
00018 #include <aqbanking/system.h>
00019 #include <gwenhywfar/error.h>
00020
00021
00022 #ifdef BUILDING_AQBANKING
00023 #
00024 # if AQBANKING_SYS_IS_WINDOWS
00025 #
00026 # ifdef __declspec
00027 # define AQBANKING_API __declspec (dllexport)
00028 # else
00029 # define AQBANKING_API
00030 # endif
00031 # else
00032 #
00033 # ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
00034 # define AQBANKING_API __attribute__((visibility("default")))
00035 # else
00036 # define AQBANKING_API
00037 # endif
00038 # endif
00039 #else
00040 #
00041 # if AQBANKING_SYS_IS_WINDOWS
00042 #
00043 # ifdef __declspec
00044 # define AQBANKING_API __declspec (dllimport)
00045 # else
00046 # define AQBANKING_API
00047 # endif
00048 # else
00049 #
00050 # define AQBANKING_API
00051 # endif
00052 #endif
00053
00054 #ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
00055 # define AQBANKING_EXPORT __attribute__((visibility("default")))
00056 # define AQBANKING_NOEXPORT __attribute__((visibility("hidden")))
00057 #else
00058 # define AQBANKING_EXPORT
00059 # define AQBANKING_NOEXPORT
00060 #endif
00061
00062
00063 #ifndef AQBANKING_NOWARN_DEPRECATED
00064 # ifdef __GNUC__
00065 # define AQBANKING_DEPRECATED __attribute((__deprecated__))
00066 # else
00067 # define AQBANKING_DEPRECATED
00068 # endif
00069 # else
00070 # define AQBANKING_DEPRECATED
00071 #endif
00072
00073 #define AQBANKING_LOGDOMAIN "aqbanking"
00074
00075
00080
00081 #define AB_ERROR_OFFSET GWEN_ERROR_USEROFFSET
00082
00083 #define AB_ERROR_BAD_CONFIG_FILE (AB_ERROR_OFFSET-1)
00084 #define AB_ERROR_NETWORK (AB_ERROR_OFFSET-2)
00085 #define AB_ERROR_EMPTY (AB_ERROR_OFFSET-3)
00086
00087 #define AB_ERROR_INDIFFERENT (AB_ERROR_OFFSET-4)
00088 #define AB_ERROR_UNKNOWN_ACCOUNT (AB_ERROR_OFFSET-5)
00089
00090 #define AB_ERROR_NOT_INIT (AB_ERROR_OFFSET-6)
00091 #define AB_ERROR_SECURITY (AB_ERROR_OFFSET-7)
00092 #define AB_ERROR_PLUGIN_MISSING (AB_ERROR_OFFSET-8)
00093
00094 #define AB_ERROR_USER1 (AB_ERROR_OFFSET-50)
00095 #define AB_ERROR_USER2 (AB_ERROR_OFFSET-51)
00096 #define AB_ERROR_USER3 (AB_ERROR_OFFSET-52)
00097 #define AB_ERROR_USER4 (AB_ERROR_OFFSET-53)
00098
00099 #define AB_ERROR_USEROFFSET (AB_ERROR_OFFSET-100)
00100
00106 #endif
00107
00108