aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-util.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-10-24 22:39:28 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-10-24 22:39:28 +0800
commit53f60e8802c75c9272cccc46f316f1fd47ef44b0 (patch)
tree44a2bba4d02fa5f226c20709f3513686913dd806 /calendar/cal-util/cal-util.h
parent98f0136ffa1428fb21c80dfa4568c88eebbdddc8 (diff)
downloadgsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar
gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar.gz
gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar.bz2
gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar.lz
gsoc2013-evolution-53f60e8802c75c9272cccc46f316f1fd47ef44b0.tar.xz
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.h7
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