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 const int CALENDAR_APP_ERROR = 200;
00046
00047 const int CALENDAR_FUNC_ERROR = CALENDAR_APP_ERROR + 1;
00048
00049 const int CALENDAR_INVALID_ARG_ERROR = CALENDAR_APP_ERROR + 2;
00050
00051 const int CALENDAR_ICAL_PARSE_ERROR = CALENDAR_APP_ERROR + 3;
00052
00053 const int CALENDAR_INVALID_FILE = CALENDAR_APP_ERROR + 4;
00054
00055 const int CALENDAR_DOESNOT_EXISTS = CALENDAR_APP_ERROR + 5;
00056
00057 const int CALENDAR_ALREADY_EXISTS = CALENDAR_APP_ERROR + 6;
00058
00059 const int CALENDAR_NONE_INDB = CALENDAR_APP_ERROR + 7 ;
00060
00061 const int CALENDAR_INVALID_ICSFILE = CALENDAR_APP_ERROR + 8;
00062
00063
00064 const int CALENDAR_CANNOT_BE_DELETED = CALENDAR_APP_ERROR + 9;
00065
00066
00067
00068
00069 const int CALENDAR_ENTRY_DUPLICATED = CALENDAR_APP_ERROR + 10 ;
00070
00071 const int NO_DUPLICATE_ITEM = CALENDAR_APP_ERROR + 11;
00072
00073 const int EXT_ITEM_RETAINED = CALENDAR_APP_ERROR + 12;
00074
00075 const int LOCAL_ITEM_RETAINED = CALENDAR_APP_ERROR + 13;
00076
00077 const int CALENDAR_DB_FULL = CALENDAR_APP_ERROR + 14;
00078
00079 const int CALENDAR_DB_LOCKED = CALENDAR_APP_ERROR + 15;
00080
00081 const int CALENDAR_SCHEMA_CHANGED = CALENDAR_APP_ERROR + 16;
00082
00083 const int CALENDAR_IMPORT_INCOMPLETE = CALENDAR_APP_ERROR + 17 ;
00084
00085 const int CALENDAR_ICS_COMPONENT_INVALID = CALENDAR_APP_ERROR + 18;
00086
00087 const int CALENDAR_BATCH_ADD_INVALID = CALENDAR_APP_ERROR + 19;
00088
00089 const int CALENDAR_OPERATION_SUCCESSFUL = 500;
00090
00091 #endif
00092