diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-08-21 20:00:04 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-08-21 20:00:04 +0800 |
commit | bd866109877225814415c16af9fcf5601078e32a (patch) | |
tree | 0357c62d2bb98004afc89cc6fd4ed63f6c56bd8c /calendar/cal-util/cal-util.h | |
parent | 5db9380c89618f1d5f1d16e812e1b8e7bc60aed4 (diff) | |
download | gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.tar gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.tar.gz gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.tar.bz2 gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.tar.lz gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.tar.xz gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.tar.zst gsoc2013-evolution-bd866109877225814415c16af9fcf5601078e32a.zip |
new functions moved from the CalBackendFile, to allow its use outside of
2001-08-20 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.[ch] (cal_util_generate_alarms_for_list):
(cal_util_generate_alarms_for_comp):
new functions moved from the CalBackendFile, to allow its use outside
of it. The signature has changed a little bit, since these functions
need a way to get the timezones from the callers, so a callback
function to resolve the timezones has been added to the list of
parameters
* pcs/cal-backend-file.c (generate_alarms_for_list):
(generate_alarms_for_comp): moved to cal-util, with all their related
functions/structures
* pcs/cal-backend-db.c: removed functions that were moved to cal-util
svn path=/trunk/; revision=12338
Diffstat (limited to 'calendar/cal-util/cal-util.h')
-rw-r--r-- | calendar/cal-util/cal-util.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/calendar/cal-util/cal-util.h b/calendar/cal-util/cal-util.h index 1333bc3334..943f048d35 100644 --- a/calendar/cal-util/cal-util.h +++ b/calendar/cal-util/cal-util.h @@ -27,6 +27,8 @@ #include <ical.h> #include <time.h> #include <glib.h> +#include <cal-util/cal-component.h> +#include <cal-util/cal-recur.h> BEGIN_GNOME_DECLS @@ -55,6 +57,20 @@ void cal_obj_uid_list_free (GList *list); icalcomponent *cal_util_new_top_level (void); +CalComponentAlarms *cal_util_generate_alarms_for_comp (CalComponent *comp, + time_t start, + time_t end, + CalRecurResolveTimezoneFn resolve_tzid, + gpointer user_data); +int cal_util_generate_alarms_for_list (GList *comps, + time_t start, + time_t end, + GSList **comp_alarms, + CalRecurResolveTimezoneFn resolve_tzid, + gpointer user_data); + +icaltimezone *cal_util_resolve_tzid (const char *tzid, gpointer data); + END_GNOME_DECLS #endif |