diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-11 03:54:53 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-11 03:54:53 +0800 |
commit | 5bf17131df95ad49d7a98768b05177092ad2a618 (patch) | |
tree | d8eac699ccd0b8d40d0332abf7427e964fa90bdd /calendar/cal-client/cal-client.h | |
parent | 271d9b306ebe673e2e52d965bb5b4a259c8189a0 (diff) | |
download | gsoc2013-evolution-5bf17131df95ad49d7a98768b05177092ad2a618.tar.gz gsoc2013-evolution-5bf17131df95ad49d7a98768b05177092ad2a618.tar.zst gsoc2013-evolution-5bf17131df95ad49d7a98768b05177092ad2a618.zip |
There. A pretty function to generate recurrence instances atomically so
2000-08-10 Federico Mena Quintero <federico@helixcode.com>
* cal-client/cal-client.c (cal_client_generate_instances): There.
A pretty function to generate recurrence instances atomically so
that clients don't have to jump through hoops. Now we can get rid
of the ugly calendar_iterate() function.
svn path=/trunk/; revision=4701
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r-- | calendar/cal-client/cal-client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 379980cd3f..24cc170350 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -24,7 +24,7 @@ #include <libgnome/gnome-defs.h> #include <gtk/gtkobject.h> -#include <cal-util/cal-component.h> +#include <cal-util/cal-recur.h> #include <cal-util/cal-util.h> BEGIN_GNOME_DECLS @@ -101,6 +101,10 @@ GList *cal_client_get_uids (CalClient *client, CalObjType type); GList *cal_client_get_objects_in_range (CalClient *client, CalObjType type, time_t start, time_t end); +void cal_client_generate_instances (CalClient *client, CalObjType type, + time_t start, time_t end, + CalRecurInstanceFn cb, gpointer cb_data); + GList *cal_client_get_alarms_in_range (CalClient *client, time_t start, time_t end); gboolean cal_client_get_alarms_for_object (CalClient *client, const char *uid, |