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