From 08f2b4e43ff25f5be620bfb3a3e3786b57849ad5 Mon Sep 17 00:00:00 2001 From: Russell Steinthal Date: Wed, 16 Feb 2000 14:27:38 +0000 Subject: Change iCalObject.organizer from char* to iCalPerson* 2000-02-16 Russell Steinthal * calobj.[ch], eventedit.c, main.c: Change iCalObject.organizer from char* to iCalPerson* * calobj.[ch]: Change iCalObject.related from list of char* to list of iCalRelation*; assorted related fixes * icalendar.c: interface between libical and the gnomecal internal representation svn path=/trunk/; revision=1791 --- calendar/gui/calendar.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'calendar/gui/calendar.h') diff --git a/calendar/gui/calendar.h b/calendar/gui/calendar.h index 858f0151ca..452281ebd1 100644 --- a/calendar/gui/calendar.h +++ b/calendar/gui/calendar.h @@ -5,17 +5,24 @@ BEGIN_GNOME_DECLS +typedef enum { + CAL_VCAL, + CAL_ICAL +} CalendarFormat; + typedef struct { /* This calendar's title */ char *title; /* backing store for this calendar object */ char *filename; + CalendarFormat format; /* The list of events; todo's and journal entries */ GList *events; GList *todo; GList *journal; + GList *timezones; /* required for iCalendar */ GHashTable *event_hash; @@ -43,7 +50,8 @@ typedef struct { typedef enum { CALENDAR_INIT_NIL = 0, - CALENDAR_INIT_ALARMS = 1 << 0 + CALENDAR_INIT_ALARMS = 1 << 0, + CALENDAR_USE_ICAL = 1 << 1 } CalendarNewOptions; Calendar *calendar_new (char *title,CalendarNewOptions options); -- cgit v1.2.3