00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00021 #ifndef __CALENDAR_ERROR_H__
00022 #define __CALENDAR_ERROR_H_
00023
00024
00025 const int CALENDAR_SYSTEM_ERROR = 100;
00026
00027
00028 const int CALENDAR_DATABASE_ERROR = CALENDAR_SYSTEM_ERROR + 1;
00029
00030 const int CALENDAR_MEMORY_ERROR = CALENDAR_SYSTEM_ERROR + 2;
00031
00032 const int CALENDAR_FILE_ERROR = CALENDAR_SYSTEM_ERROR + 3;
00033
00034 const int CALENDAR_DBUS_ERROR = CALENDAR_SYSTEM_ERROR + 3;
00035
00036 const int CALENDAR_DISK_FULL = CALENDAR_SYSTEM_ERROR + 4;
00037
00038 const int CALENDAR_LTIME_ERROR = CALENDAR_SYSTEM_ERROR + 6;
00040 const int CALENDAR_LIBALARM_ERROR = 0 - CALENDAR_SYSTEM_ERROR;
00041
00042 const int CALENDAR_ALARM_ERROR = -1 - CALENDAR_SYSTEM_ERROR;
00043
00044
00045
00046 const int CALENDAR_APP_ERROR = 200;
00047
00048 const int CALENDAR_FUNC_ERROR = CALENDAR_APP_ERROR + 1;
00049
00050 const int CALENDAR_INVALID_ARG_ERROR = CALENDAR_APP_ERROR + 2;
00051
00052 const int CALENDAR_ICAL_PARSE_ERROR = CALENDAR_APP_ERROR + 3;
00053
00054 const int CALENDAR_INVALID_FILE = CALENDAR_APP_ERROR + 4;
00055
00056 const int CALENDAR_DOESNOT_EXISTS = CALENDAR_APP_ERROR + 5;
00057
00058 const int CALENDAR_ALREADY_EXISTS = CALENDAR_APP_ERROR + 6;
00059
00060 const int CALENDAR_NONE_INDB = CALENDAR_APP_ERROR + 7 ;
00061
00062
00063 const int CALENDAR_INVALID_ICSFILE = CALENDAR_APP_ERROR + 8;
00064
00065
00066 const int CALENDAR_CANNOT_BE_DELETED = CALENDAR_APP_ERROR + 9;
00067
00068
00069
00070
00071 const int CALENDAR_ENTRY_DUPLICATED = CALENDAR_APP_ERROR + 10 ;
00072
00073 const int NO_DUPLICATE_ITEM = CALENDAR_APP_ERROR + 11;
00074
00075 const int EXT_ITEM_RETAINED = CALENDAR_APP_ERROR + 12;
00076
00077 const int LOCAL_ITEM_RETAINED = CALENDAR_APP_ERROR + 13;
00078
00079 const int CALENDAR_DB_FULL = CALENDAR_APP_ERROR + 14;
00080
00081 const int CALENDAR_DB_LOCKED = CALENDAR_APP_ERROR + 15;
00082
00083 const int CALENDAR_SCHEMA_CHANGED = CALENDAR_APP_ERROR + 16;
00084
00085 const int CALENDAR_IMPORT_INCOMPLETE = CALENDAR_APP_ERROR + 17 ;
00086
00087
00088 const int CALENDAR_OPERATION_SUCCESSFUL = 500;
00089
00090 #endif
00091