From ea4eeed27313b0ad0564422424c5dcb58bbbe842 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 9 Sep 2002 20:06:54 +0000 Subject: Sync for 1.1.1. svn path=/trunk/; revision=18024 --- .../cal-client/evolution-cal-client-decl.txt | 32 ++++++++++++++++++++-- doc/devel/calendar/cal-client/tmpl/cal-client.sgml | 8 ++++++ .../calendar/cal-util/evolution-cal-util-decl.txt | 29 ++++++++++++++++++-- 3 files changed, 64 insertions(+), 5 deletions(-) (limited to 'doc/devel') diff --git a/doc/devel/calendar/cal-client/evolution-cal-client-decl.txt b/doc/devel/calendar/cal-client/evolution-cal-client-decl.txt index 79d0fec3c6..28eeb19875 100644 --- a/doc/devel/calendar/cal-client/evolution-cal-client-decl.txt +++ b/doc/devel/calendar/cal-client/evolution-cal-client-decl.txt @@ -46,6 +46,7 @@ typedef enum { CAL_CLIENT_OPEN_SUCCESS, CAL_CLIENT_OPEN_ERROR, CAL_CLIENT_OPEN_NOT_FOUND, + CAL_CLIENT_OPEN_PERMISSION_DENIED, CAL_CLIENT_OPEN_METHOD_NOT_SUPPORTED } CalClientOpenStatus; @@ -66,6 +67,26 @@ typedef enum { } CalClientGetStatus; +CalClientResult +typedef enum { + CAL_CLIENT_RESULT_SUCCESS, + CAL_CLIENT_RESULT_CORBA_ERROR, + CAL_CLIENT_RESULT_INVALID_OBJECT, + CAL_CLIENT_RESULT_NOT_FOUND, + CAL_CLIENT_RESULT_PERMISSION_DENIED +} CalClientResult; + + +CalClientSendResult +typedef enum { + CAL_CLIENT_SEND_SUCCESS, + CAL_CLIENT_SEND_CORBA_ERROR, + CAL_CLIENT_SEND_INVALID_OBJECT, + CAL_CLIENT_SEND_BUSY, + CAL_CLIENT_SEND_PERMISSION_DENIED +} CalClientSendResult; + + CalClientLoadState typedef enum { CAL_CLIENT_LOAD_NOT_LOADED, @@ -207,20 +228,25 @@ CalClient *client, const char *uid,time_t start, time_t end,CalComponentAlarms * cal_client_update_object -gboolean +CalClientResult CalClient *client, CalComponent *comp cal_client_update_objects -gboolean +CalClientResult CalClient *client, icalcomponent *icalcomp cal_client_remove_object -gboolean +CalClientResult CalClient *client, const char *uid +cal_client_send_object +CalClientSendResult +CalClient *client, icalcomponent *icalcomp,icalcomponent **new_icalcomp, GList **users,char error_msg[256] + + cal_client_get_query CalQuery * CalClient *client, const char *sexp diff --git a/doc/devel/calendar/cal-client/tmpl/cal-client.sgml b/doc/devel/calendar/cal-client/tmpl/cal-client.sgml index 4426d6c478..6c53f5adbc 100644 --- a/doc/devel/calendar/cal-client/tmpl/cal-client.sgml +++ b/doc/devel/calendar/cal-client/tmpl/cal-client.sgml @@ -57,6 +57,7 @@ GTK+ object for communication with personal calendar server. @CAL_CLIENT_OPEN_SUCCESS: @CAL_CLIENT_OPEN_ERROR: @CAL_CLIENT_OPEN_NOT_FOUND: +@CAL_CLIENT_OPEN_PERMISSION_DENIED: @CAL_CLIENT_OPEN_METHOD_NOT_SUPPORTED: @@ -336,3 +337,10 @@ End: @calclient: the object which received the signal. @arg1: + + + + + +@calclient: the object which received the signal. + diff --git a/doc/devel/calendar/cal-util/evolution-cal-util-decl.txt b/doc/devel/calendar/cal-util/evolution-cal-util-decl.txt index 30a652765b..89cad7611e 100644 --- a/doc/devel/calendar/cal-util/evolution-cal-util-decl.txt +++ b/doc/devel/calendar/cal-util/evolution-cal-util-decl.txt @@ -112,7 +112,7 @@ typedef enum { typedef struct { CalComponentRangeType type; - CalComponentDateTime *datetime; + CalComponentDateTime datetime; } CalComponentRange; @@ -220,6 +220,11 @@ CalComponent *comp CalComponent *comp +cal_component_strip_errors +void +CalComponent *comp + + cal_component_get_vtype CalComponentVType CalComponent *comp @@ -235,6 +240,11 @@ CalComponent *comp CalComponent *comp +cal_component_abort_sequence +void +CalComponent *comp + + cal_component_get_uid void CalComponent *comp, const char **uid @@ -462,7 +472,7 @@ CalComponent *comp, int *priority cal_component_get_recurid void -CalComponent *comp, CalComponentRange **recur_id +CalComponent *comp, CalComponentRange *recur_id cal_component_set_recurid @@ -822,6 +832,11 @@ CalComponentAlarm *alarm, CalAlarmTrigger *trigger void CalComponentAlarm *alarm, CalAlarmTrigger trigger + +cal_component_alarm_get_icalcomponent +icalcomponent * +CalComponentAlarm *alarm + CalRecurInstanceFn gboolean @@ -908,6 +923,16 @@ int priority const char *string +cal_util_expand_uri +char * +char *uri, gboolean tasks + + +cal_util_add_timezones_from_component +void +icalcomponent *vcal_comp,CalComponent *comp + + time_days_in_month int int year, int month -- cgit v1.2.3