From da08b761fb9afadf60b4705ec8a310f83f031188 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 2 Mar 2000 06:52:53 +0000 Subject: At this point the calendar client and personal calendar server files were 2000-03-02 Federico Mena Quintero At this point the calendar client and personal calendar server files were moved to the idl/, cal-client/, and pcs/ directories. * idl/Makefile.am: New file. * cal-client/Makefile.am: New file. Moved the libcal-client stuff from calendar/Makefile.am to here. * pcs/Makefile.am: New file. Moved the tlacuache stuff from calendar/Makefile.am to here. * Makefile.am (SUBDIRS): Added the idl and cal-client directories. * calendar.h: Removed the references to cal-backend.h and its stuff. This file is going away soon! * icalendar.c: #include . Also, we don't need to include cal-backend.h or gnome.h. * icalendar.h: Protect from multiple inclusions. svn path=/trunk/; revision=2011 --- calendar/ChangeLog | 10 +++++++++- calendar/cal-client/Makefile.am | 7 ++++--- calendar/calendar.h | 2 -- calendar/gui/calendar.h | 2 -- calendar/icalendar.c | 3 +-- calendar/icalendar.h | 11 +++++++++-- 6 files changed, 23 insertions(+), 12 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d2003c3169..b3a7f6dc73 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,4 +1,4 @@ -2000-03-01 Federico Mena Quintero +2000-03-02 Federico Mena Quintero At this point the calendar client and personal calendar server files were moved to the idl/, cal-client/, and pcs/ directories. @@ -13,6 +13,14 @@ * Makefile.am (SUBDIRS): Added the idl and cal-client directories. + * calendar.h: Removed the references to cal-backend.h and its + stuff. This file is going away soon! + + * icalendar.c: #include . Also, we don't need to + include cal-backend.h or gnome.h. + + * icalendar.h: Protect from multiple inclusions. + 2000-03-01 Federico Mena Quintero * Makefile.am: Use the gnome-config flags for orbit-idl. diff --git a/calendar/cal-client/Makefile.am b/calendar/cal-client/Makefile.am index cbe5993dec..71e914c5fb 100644 --- a/calendar/cal-client/Makefile.am +++ b/calendar/cal-client/Makefile.am @@ -43,6 +43,7 @@ libcal_clientinclude_HEADERS = \ # # client-test program +# noinst_PROGRAMS = client-test @@ -53,7 +54,7 @@ client_test_INCLUDES = \ $(INCLUDES) \ -DG_LOG_DOMAIN=\"client-test\" -client_test_LDADD = \ - $(BONOBO_VFS_GNOME_LIBS) \ - ../libversit/libversit.la \ +client_test_LDADD = \ + $(BONOBO_VFS_GNOME_LIBS) \ + $(top_builddir)/libversit/libversit.la \ libcal-client.la diff --git a/calendar/calendar.h b/calendar/calendar.h index 4e077ddd58..23fa65c094 100644 --- a/calendar/calendar.h +++ b/calendar/calendar.h @@ -2,7 +2,6 @@ #define CALENDAR_H #include "calobj.h" -#include "cal-backend.h" BEGIN_GNOME_DECLS @@ -12,7 +11,6 @@ typedef struct { /* backing store for this calendar object */ char *filename; - CalendarFormat format; /* The list of events; todo's and journal entries */ GList *events; diff --git a/calendar/gui/calendar.h b/calendar/gui/calendar.h index 4e077ddd58..23fa65c094 100644 --- a/calendar/gui/calendar.h +++ b/calendar/gui/calendar.h @@ -2,7 +2,6 @@ #define CALENDAR_H #include "calobj.h" -#include "cal-backend.h" BEGIN_GNOME_DECLS @@ -12,7 +11,6 @@ typedef struct { /* backing store for this calendar object */ char *filename; - CalendarFormat format; /* The list of events; todo's and journal entries */ GList *events; diff --git a/calendar/icalendar.c b/calendar/icalendar.c index 30d91f6858..af4f2ca83b 100644 --- a/calendar/icalendar.c +++ b/calendar/icalendar.c @@ -10,11 +10,10 @@ * */ -#include +#include #include #include #include "icalendar.h" -#include "cal-backend.h" static time_t icaltime_to_timet (struct icaltimetype* i); static CalendarAlarm* parse_alarm (icalproperty *prop); diff --git a/calendar/icalendar.h b/calendar/icalendar.h index 84993bc3ae..09bfa06fad 100644 --- a/calendar/icalendar.h +++ b/calendar/icalendar.h @@ -1,6 +1,13 @@ -#include "ical.h" +#ifndef ICALENDAR_H +#define ICALENDAR_H + +#include #include "calobj.h" -#include "cal-backend.h" + iCalObject *ical_object_create_from_icalcomponent (icalcomponent* comp); + + + +#endif -- cgit v1.2.3