aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.h
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-02-18 05:30:09 +0800
committerSeth Alves <alves@src.gnome.org>2000-02-18 05:30:09 +0800
commit4cd07c4e96046f0151528ba585de8d4472e0fbe5 (patch)
tree099951cfea95af02f479cd8d5cb3dcec923ef05f /calendar/gui/calendar.h
parentc975d4ef24b4db28b19faf6d2b1e5d1956fe836c (diff)
downloadgsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.gz
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.bz2
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.lz
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.xz
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.tar.zst
gsoc2013-evolution-4cd07c4e96046f0151528ba585de8d4472e0fbe5.zip
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
Diffstat (limited to 'calendar/gui/calendar.h')
-rw-r--r--calendar/gui/calendar.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/calendar/gui/calendar.h b/calendar/gui/calendar.h
index 452281ebd1..4e077ddd58 100644
--- a/calendar/gui/calendar.h
+++ b/calendar/gui/calendar.h
@@ -2,14 +2,10 @@
#define CALENDAR_H
#include "calobj.h"
+#include "cal-backend.h"
BEGIN_GNOME_DECLS
-typedef enum {
- CAL_VCAL,
- CAL_ICAL
-} CalendarFormat;
-
typedef struct {
/* This calendar's title */
char *title;