diff options
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); |