From 4cd07c4e96046f0151528ba585de8d4472e0fbe5 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Thu, 17 Feb 2000 21:30:09 +0000 Subject: moved CalendarFormat type def here * cal-backend.h: moved CalendarFormat type def here * cal-backend.c (cal_backend_load): if extension suggests an ical file, attempt to load an iCal file. (cal_get_type_from_filename): returns CAL_ICAL if file extension is 'ics' or 'ifb', else returns CAL_VCAL (icalendar_calendar_load): moved this here from icalendar.c because it needs to call the static function add_object. svn path=/trunk/; revision=1831 --- calendar/cal-backend.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'calendar/cal-backend.h') diff --git a/calendar/cal-backend.h b/calendar/cal-backend.h index 66b1b8f5e3..21c516126d 100644 --- a/calendar/cal-backend.h +++ b/calendar/cal-backend.h @@ -57,6 +57,11 @@ struct _CalBackendClass { GtkObjectClass parent_class; }; +typedef enum { + CAL_VCAL, + CAL_ICAL +} CalendarFormat; + GtkType cal_backend_get_type (void); CalBackend *cal_backend_new (void); -- cgit v1.2.3