diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-10-24 22:39:28 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-10-24 22:39:28 +0800 |
commit | 53f60e8802c75c9272cccc46f316f1fd47ef44b0 (patch) | |
tree | 44a2bba4d02fa5f226c20709f3513686913dd806 /calendar/cal-util/cal-util.h | |
parent | 98f0136ffa1428fb21c80dfa4568c88eebbdddc8 (diff) | |
download | gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar.gz gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar.zst gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.zip |
new functions for individual instances management.
2003-10-24 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.[ch] (cal_util_construct_instance,
cal_util_remove_instances): new functions for individual
instances management.
* pcs/cal-backend-file.c (cal_backend_file_get_object): if we
dont have a recurrence in our hash table, generate one for the
specified recurrence ID.
(match_recurrence_sexp): new function to match recurrences on
regular expresessions.
(match_object_sexp): call match_recurrence_sexp() for all recurrences.
(cal_backend_file_modify_object): handle mod_types.
(cal_backend_file_remove_object): handle mod_types.
svn path=/trunk/; revision=23058
Diffstat (limited to 'calendar/cal-util/cal-util.h')
-rw-r--r-- | calendar/cal-util/cal-util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/cal-util/cal-util.h b/calendar/cal-util/cal-util.h index 336fabd6b4..48bce483f8 100644 --- a/calendar/cal-util/cal-util.h +++ b/calendar/cal-util/cal-util.h @@ -122,6 +122,13 @@ gboolean cal_util_event_dates_match (icalcomponent *icalcomp1, icalcomponent *ic #define CAL_STATIC_CAPABILITY_REMOVE_ALARMS "remove-alarms" #define CAL_STATIC_CAPABILITY_SAVE_SCHEDULES "save-schedules" +/* Recurrent events. Management for instances */ +icalcomponent *cal_util_construct_instance (icalcomponent *icalcomp, + struct icaltimetype rid); +void cal_util_remove_instances (icalcomponent *icalcomp, + struct icaltimetype rid, + CalObjModType mod); + G_END_DECLS #endif |