diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-15 15:59:09 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-15 15:59:09 +0800 |
commit | f89cf24d2093c9982e461a2478d0acb4eeacc408 (patch) | |
tree | c87e7b2f1ea8090de832c0930c7a675044d0816b /calendar/calendar.h | |
parent | 3ef4dcf9bbf11bc5b1a83bc4360733e730411f7c (diff) | |
download | gsoc2013-evolution-f89cf24d2093c9982e461a2478d0acb4eeacc408.tar.gz gsoc2013-evolution-f89cf24d2093c9982e461a2478d0acb4eeacc408.tar.zst gsoc2013-evolution-f89cf24d2093c9982e461a2478d0acb4eeacc408.zip |
Year view marks ranges of new dates (on update view). Recurrence iterator
Year view marks ranges of new dates (on update view).
Recurrence iterator functions are here now (clap, clap, clap).
Microsoft Outlook's days are counted.
Miguel.
svn path=/trunk/; revision=139
Diffstat (limited to 'calendar/calendar.h')
-rw-r--r-- | calendar/calendar.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/calendar/calendar.h b/calendar/calendar.h index f93946315c..a59fec7544 100644 --- a/calendar/calendar.h +++ b/calendar/calendar.h @@ -6,13 +6,24 @@ BEGIN_GNOME_DECLS typedef struct { + /* This calendar's title */ char *title; + + /* backing store for this calendar object */ char *filename; + + /* The list of events; todo's and journal entries */ GList *events; GList *todo; GList *journal; + /* Events that have a recurrence field are also present here */ + GList *recur; + + /* Time at which the calendar was created */ time_t created; + + /* If the calendar was last modified */ int modified; void *temp; } Calendar; @@ -23,6 +34,7 @@ void calendar_add_object (Calendar *cal, iCalObject *obj); void calendar_remove_object (Calendar *cal, iCalObject *obj); void calendar_destroy (Calendar *cal); GList *calendar_get_events_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); +GList *calendar_get_objects_in_range (GList *objects, time_t start, time_t end, GCompareFunc sort_func); GList *calendar_get_todo_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); GList *calendar_get_journal_in_range (Calendar *cal, time_t start, time_t end, GCompareFunc sort_func); gint calendar_compare_by_dtstart (gpointer a, gpointer b); |