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 #ifdef AQBANKING_IS_SUBPROJECT
00022 # define AQBANKING_API
00023 # define AQBANKING_EXPORT
00024 # define AQBANKING_NOEXPORT
00025 #else
00026
00027 # ifdef BUILDING_AQBANKING
00028 #
00029 # if AQBANKING_SYS_IS_WINDOWS
00030 #
00031 # ifdef __declspec
00032 # define AQBANKING_API __declspec (dllexport)
00033 # else
00034 # define AQBANKING_API
00035 # endif
00036 # else
00037 #
00038 # ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
00039 # define AQBANKING_API __attribute__((visibility("default")))
00040 # else
00041 # define AQBANKING_API
00042 # endif
00043 # endif
00044 # else
00045 #
00046 # if AQBANKING_SYS_IS_WINDOWS
00047 #
00048 # ifdef __declspec
00049 # define AQBANKING_API __declspec (dllimport)
00050 # else
00051 # define AQBANKING_API
00052 # endif
00053 # else
00054 #
00055 # define AQBANKING_API
00056 # endif
00057 # endif
00058
00059 # ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
00060 # define AQBANKING_EXPORT __attribute__((visibility("default")))
00061 # define AQBANKING_NOEXPORT __attribute__((visibility("hidden")))
00062 # else
00063 # define AQBANKING_EXPORT
00064 # define AQBANKING_NOEXPORT
00065 # endif
00066 #endif
00067
00068
00069 #ifndef AQBANKING_NOWARN_DEPRECATED
00070 # ifdef __GNUC__
00071 # define AQBANKING_DEPRECATED __attribute((__deprecated__))
00072 # else
00073 # define AQBANKING_DEPRECATED
00074 # endif
00075 # else
00076 # define AQBANKING_DEPRECATED
00077 #endif
00078
00079 #define AQBANKING_LOGDOMAIN "aqbanking"
00080
00081
00086
00087 #define AB_ERROR_OFFSET GWEN_ERROR_USEROFFSET
00088
00089 #define AB_ERROR_BAD_CONFIG_FILE (AB_ERROR_OFFSET-1)
00090 #define AB_ERROR_NETWORK (AB_ERROR_OFFSET-2)
00091 #define AB_ERROR_EMPTY (AB_ERROR_OFFSET-3)
00092
00093 #define AB_ERROR_INDIFFERENT (AB_ERROR_OFFSET-4)
00094 #define AB_ERROR_UNKNOWN_ACCOUNT (AB_ERROR_OFFSET-5)
00095
00096 #define AB_ERROR_NOT_INIT (AB_ERROR_OFFSET-6)
00097 #define AB_ERROR_SECURITY (AB_ERROR_OFFSET-7)
00098 #define AB_ERROR_PLUGIN_MISSING (AB_ERROR_OFFSET-8)
00099
00100 #define AB_ERROR_USER1 (AB_ERROR_OFFSET-50)
00101 #define AB_ERROR_USER2 (AB_ERROR_OFFSET-51)
00102 #define AB_ERROR_USER3 (AB_ERROR_OFFSET-52)
00103 #define AB_ERROR_USER4 (AB_ERROR_OFFSET-53)
00104
00105 #define AB_ERROR_USEROFFSET (AB_ERROR_OFFSET-100)
00106
00112 #endif
00113
00114