diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-01 08:30:46 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-01 08:30:46 +0800 |
commit | 65e2dca7eb2786ea75ae3f07171281896334d7e2 (patch) | |
tree | 1cfe66f4c3180a721afba86693517a330b65a256 /calendar/calendar.h | |
parent | 0d8c9252ca14c3aa0e63ca7d807d5a569597e247 (diff) | |
download | gsoc2013-evolution-65e2dca7eb2786ea75ae3f07171281896334d7e2.tar.gz gsoc2013-evolution-65e2dca7eb2786ea75ae3f07171281896334d7e2.tar.zst gsoc2013-evolution-65e2dca7eb2786ea75ae3f07171281896334d7e2.zip |
Calendar objects as defined by the iCalendar IETF draft. Calendar holder
Calendar objects as defined by the iCalendar IETF draft.
Calendar holder for Calendar Objects.
-mig&fed
svn path=/trunk/; revision=79
Diffstat (limited to 'calendar/calendar.h')
-rw-r--r-- | calendar/calendar.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/calendar/calendar.h b/calendar/calendar.h new file mode 100644 index 0000000000..f854c69b7a --- /dev/null +++ b/calendar/calendar.h @@ -0,0 +1,25 @@ +#ifndef CALOBJ_H +#define CALOBJ_H + +BEGIN_GNOME_DECLS + +typedef struct { + char *title; + char *filename; + GList *events; + GList *todo; + GList *journal; +} Calendar; + +Calendar *calendar_new (char *title); +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); +GList *calendar_get_todo_in_range (Calendar *cal, time_t start, time_t end); +GList *calendar_get_journal_in_range (Calendar *cal, time_t start, time_t end); + +END_GNOME_DECLS + +#endif |