diff options
author | nobody <nobody@localhost> | 1998-06-14 10:20:25 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 1998-06-14 10:20:25 +0800 |
commit | 80123ab60ca30912c1864c43f7d8942ea3b96052 (patch) | |
tree | 04ddcbf2b25cee3f50643e4a40c08feb14b2b94f /calendar/gui/calendar.h | |
parent | 74afb1d19025c0353bacd0bac571e4a46c27ecde (diff) | |
download | gsoc2013-evolution-rel-01.tar gsoc2013-evolution-rel-01.tar.gz gsoc2013-evolution-rel-01.tar.bz2 gsoc2013-evolution-rel-01.tar.lz gsoc2013-evolution-rel-01.tar.xz gsoc2013-evolution-rel-01.tar.zst gsoc2013-evolution-rel-01.zip |
This commit was manufactured by cvs2svn to create tag 'rel-01'.rel-01
svn path=/tags/rel-01/; revision=265
Diffstat (limited to 'calendar/gui/calendar.h')
-rw-r--r-- | calendar/gui/calendar.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/calendar/gui/calendar.h b/calendar/gui/calendar.h deleted file mode 100644 index 0a0e949d92..0000000000 --- a/calendar/gui/calendar.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef CALENDAR_H -#define CALENDAR_H - -#include "calobj.h" - -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; - - /* Time at which the calendar was created */ - time_t created; - - /* If the calendar was last modified */ - int modified; - void *temp; -} Calendar; - -/* This is only used by the calendar_get_events_in_range routine to get - * a list of objects that recur on a specific date - */ -typedef struct { - time_t ev_start; - time_t ev_end; - iCalObject *ico; -} CalendarObject; - -Calendar *calendar_new (char *title); -char *calendar_load (Calendar *cal, char *fname); -void calendar_save (Calendar *cal, char *fname); -void calendar_add_object (Calendar *cal, iCalObject *obj); -void calendar_remove_object (Calendar *cal, iCalObject *obj); -void calendar_destroy (Calendar *cal); -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); - -void calendar_iterate_on_objects (GList *objects, time_t start, time_t end, calendarfn cb, void *closure); -void calendar_iterate (Calendar *cal, time_t start, time_t end, calendarfn cb, void *closure); - -/* Note this routine returns a GList with CalendarObjects */ -GList *calendar_get_events_in_range (Calendar *cal, time_t start, time_t end); - -/* Informs the calendar that obj information has changed */ -void calendar_object_changed (Calendar *cal, iCalObject *obj, int flags); - -/* Destroy the above list with this method */ -void calendar_destroy_event_list (GList *l); - -void calendar_notify (time_t, void *data); -END_GNOME_DECLS - -#endif |