diff options
author | Seth Alves <alves@src.gnome.org> | 2000-08-12 12:19:56 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-08-12 12:19:56 +0800 |
commit | aa30b83241a0ba4b342fe234e555fb663efc8ea3 (patch) | |
tree | 1b84f7ff058343982915acb4c1a1e53827d79f6d /calendar/cal-util | |
parent | 4430ec83ec3ae4770c08d74bd9434b694e7ee628 (diff) | |
download | gsoc2013-evolution-aa30b83241a0ba4b342fe234e555fb663efc8ea3.tar.gz gsoc2013-evolution-aa30b83241a0ba4b342fe234e555fb663efc8ea3.tar.zst gsoc2013-evolution-aa30b83241a0ba4b342fe234e555fb663efc8ea3.zip |
stubs for pilot id accessors (cal_component_get_pilot_status):
* cal-util/cal-component.c (cal_component_get_pilot_id):
(cal_component_set_pilot_id): stubs for pilot id accessors
(cal_component_get_pilot_status):
(cal_component_set_pilot_status): stubs for pilot status accessors
* conduits/calendar/calendar-conduit.c (transmit): start to
convert to cal-component interface
* conduits/todo/todo-conduit.c (transmit): same
svn path=/trunk/; revision=4767
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/cal-component.c | 60 | ||||
-rw-r--r-- | calendar/cal-util/cal-component.h | 6 |
2 files changed, 66 insertions, 0 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index 3d47e0d6dc..05a9dbb9e6 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -2804,8 +2804,68 @@ cal_component_set_url (CalComponent *comp, const char *url) } } +/** + * cal_component_get_pilot_id: + * @comp: A calendar component object. + * @pilot_id: Return value for the pilot ID. + * + * Returns the pilot id of a calendar component object, if any. + **/ +void +cal_component_get_pilot_id (CalComponent *comp, unsigned long *pilot_id) +{ + /* pilot_id maybe should be recordid_t */ + /* FIX ME */ + *pilot_id = 0; +} + +/** + * cal_component_set_pilot_id: + * @comp: A calendar component object. + * @pilot_id: Return value for the pilot ID. + * + * Sets the pilot id of a clanedar component object. + **/ +void +cal_component_set_pilot_id (CalComponent *comp, unsigned long pilot_id) +{ + /* pilot_id maybe should be recordid_t */ + /* FIX ME */ +} + +/** + * cal_component_get_pilot_status: + * @comp: A calendar component object. + * @pilot_status: Return value for the pilot sync status. + * + * Returns the pilot status of a calendar component object, if any. + **/ +void +cal_component_get_pilot_status (CalComponent *comp, unsigned long *pilot_status) +{ + /* FIX ME */ + /* pilot_status should be iCalPilotState ? */ + *pilot_status = 0; +} + +/** + * cal_component_set_pilot_id: + * @comp: A calendar component object. + * @pilot_id: Return value for the pilot ID. + * + * Sets the pilot id of a clanedar component object. + **/ +void +cal_component_set_pilot_status (CalComponent *comp, unsigned long pilot_status) +{ + /* pilot_id maybe should be recordid_t */ + /* FIX ME */ +} + + + /** * cal_component_free_categories_list: * @categ_list: List of category strings. diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h index d547924b31..c8e2627448 100644 --- a/calendar/cal-util/cal-component.h +++ b/calendar/cal-util/cal-component.h @@ -233,6 +233,12 @@ void cal_component_set_transparency (CalComponent *comp, CalComponentTransparenc void cal_component_get_url (CalComponent *comp, const char **url); void cal_component_set_url (CalComponent *comp, const char *url); +void cal_component_get_pilot_id (CalComponent *comp, unsigned long *pilot_id); +void cal_component_set_pilot_id (CalComponent *comp, unsigned long pilot_id); + +void cal_component_get_pilot_status (CalComponent *comp, unsigned long *pilot_status); +void cal_component_set_pilot_status (CalComponent *comp, unsigned long pilot_status); + /* Functions to free returned values */ void cal_component_free_categories_list (GSList *categ_list); |