From 582e76a02e8fe748e439701d697d2731d35ab8f1 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 26 Jul 2000 19:52:50 +0000 Subject: OK, it seems that we have all the interesting properties for single-user 2000-07-26 Federico Mena Quintero OK, it seems that we have all the interesting properties for single-user calendars now. RFC 2445 can bite me. * cal-util/cal-component.c (scan_property): Handle the RRULE property. Yay!. (scan_recur): Likewise, yow! (get_recur_list): Likewise, yeehaw! (get_recur_list): Likewise, honk honk! (set_recur_list): Likewise, booooga booooga! (cal_component_get_rrule_list): Likewise, squeek squeek! (cal_component_set_rrule_list): That's it, I ran out of sounds. (cal_component_free_recur_list): Likewise. (scan_property): Handle the EXRULE property. (free_icalcomponent): Likewise. (cal_component_get_exrule_list): Likewise. (cal_component_set_exrule_list): Likewise. (set_period_list): Oops, free the old properties as well as removing them. (set_text_list): Ditto. (cal_component_set_exdate_list): Ditto. svn path=/trunk/; revision=4361 --- calendar/cal-util/cal-component.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'calendar/cal-util/cal-component.h') diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h index 4db5b645b0..c09c73d5bb 100644 --- a/calendar/cal-util/cal-component.h +++ b/calendar/cal-util/cal-component.h @@ -171,12 +171,18 @@ void cal_component_set_due (CalComponent *comp, CalComponentDateTime *dt); void cal_component_get_exdate_list (CalComponent *comp, GSList **exdate_list); void cal_component_set_exdate_list (CalComponent *comp, GSList *exdate_list); +void cal_component_get_exrule_list (CalComponent *comp, GSList **recur_list); +void cal_component_set_exrule_list (CalComponent *comp, GSList *recur_list); + void cal_component_get_last_modified (CalComponent *comp, struct icaltimetype **t); void cal_component_set_last_modified (CalComponent *comp, struct icaltimetype *t); void cal_component_get_rdate_list (CalComponent *comp, GSList **period_list); void cal_component_set_rdate_list (CalComponent *comp, GSList *period_list); +void cal_component_get_rrule_list (CalComponent *comp, GSList **recur_list); +void cal_component_set_rrule_list (CalComponent *comp, GSList *recur_list); + void cal_component_get_sequence (CalComponent *comp, int **sequence); void cal_component_set_sequence (CalComponent *comp, int *sequence); @@ -196,6 +202,7 @@ void cal_component_free_datetime (CalComponentDateTime *dt); void cal_component_free_exdate_list (GSList *exdate_list); void cal_component_free_icaltimetype (struct icaltimetype *t); void cal_component_free_period_list (GSList *period_list); +void cal_component_free_recur_list (GSList *recur_list); void cal_component_free_sequence (int *sequence); void cal_component_free_text_list (GSList *text_list); -- cgit v1.2.3