diff options
author | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
commit | 697761cc337aa77a47140c8df50ed84bc25e23f6 (patch) | |
tree | b785830f72e9938cceaa016a419c7b6d9892bada /libical/src/java/jlibical_consts_cxx.h | |
parent | 733d77e657516f9a59b5c1a7b62acb87b03ec86f (diff) | |
download | gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.gz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.bz2 gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.lz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.xz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.zst gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.zip |
Import new libical from mainline HEAD and make appropriate changes to
Evolution.
svn path=/trunk/; revision=22538
Diffstat (limited to 'libical/src/java/jlibical_consts_cxx.h')
-rw-r--r-- | libical/src/java/jlibical_consts_cxx.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libical/src/java/jlibical_consts_cxx.h b/libical/src/java/jlibical_consts_cxx.h new file mode 100644 index 0000000000..2cdf1f8b5a --- /dev/null +++ b/libical/src/java/jlibical_consts_cxx.h @@ -0,0 +1,42 @@ + +/*====================================================================== + FILE: jlibical_consts_cxx/h + CREATOR: Srinivasa Boppana/George Norman + (C) COPYRIGHT 2002, Critical Path +======================================================================*/ + +#ifndef JLIBICAL_CONSTS_CXX_H +#define JLIBICAL_CONSTS_CXX_H + +/* + * Error code constants. + */ +#define JLIBICAL_OK 0 /* good return code */ + +/* system/API errors */ +#define JLIBICAL_ERR_NETWORK 100 /* general network error */ +#define JLIBICAL_ERR_SERVER_INTERNAL 101 /* internal server error (database, file system, etc.) */ +#define JLIBICAL_ERR_CLIENT_INTERNAL 102 /* internal error in client API (memory, parsing errors, etc.)*/ +#define JLIBICAL_ERR_ILLEGAL_ARGUMENT 103 /* incorrect API use */ +#define JLIBICAL_ERR_API_NOT_INITED 104 /* either the InitModule API call was called prior to use of the API or it failed to initialize correctly */ +#define JLIBICAL_ERR_HOST_INVALID 105 /* the host name specified cannot be resolved */ + +/* Java classes */ +#define JLIBICAL_CLASS_ICALVALUE "net/cp/jlibical/ICalValue" +#define JLIBICAL_CLASS_VCOMPONENT "net/cp/jlibical/VComponent" +#define JLIBICAL_CLASS_VALARM "net/cp/jlibical/VAlarm" +#define JLIBICAL_CLASS_VCALENDAR "net/cp/jlibical/VCalendar" +#define JLIBICAL_CLASS_VAGENDA "net/cp/jlibical/VAgenda" +#define JLIBICAL_CLASS_VEVENT "net/cp/jlibical/VEvent" +#define JLIBICAL_CLASS_VQUERY "net/cp/jlibical/VQuery" +#define JLIBICAL_CLASS_VTODO "net/cp/jlibical/VToDo" +#define JLIBICAL_CLASS_ICALPARAMETER "net/cp/jlibical/ICalParameter" +#define JLIBICAL_CLASS_ICALPROPERTY "net/cp/jlibical/ICalProperty" + +#define JLIBICAL_CLASS_ICALDURATIONTYPE "net/cp/jlibical/ICalDurationType" +#define JLIBICAL_CLASS_ICALTIMETYPE "net/cp/jlibical/ICalTimeType" +#define JLIBICAL_CLASS_ICALTRIGGERTYPE "net/cp/jlibical/ICalTriggerType" +#define JLIBICAL_CLASS_ICALRECURRENCETYPE "net/cp/jlibical/ICalRecurrenceType" +#define JLIBICAL_CLASS_ICALPERIODTYPE "net/cp/jlibical/ICalPeriodType" + +#endif /* JLIBICAL_CONSTS_CXX_H */ |