diff options
author | Miguel de Icaza <miguel@gnu.org> | 1999-07-28 16:41:12 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-07-28 16:41:12 +0800 |
commit | e49e9cc1755266dade86ce33662ceff466f5ca07 (patch) | |
tree | 9c26f2dea9902aef6d691d70ddeee07293cba176 /calendar/calendar.h | |
parent | 81207158058c5f5e4315e3b66f92a46aec64e5ae (diff) | |
download | gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.tar gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.tar.gz gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.tar.bz2 gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.tar.lz gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.tar.xz gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.tar.zst gsoc2013-evolution-e49e9cc1755266dade86ce33662ceff466f5ca07.zip |
New file. Implements PalmPilot syncronization with the Gnome Calendar.
1999-07-28 Miguel de Icaza <miguel@gnu.org>
* calendar-pilot-sync.c: New file. Implements PalmPilot
syncronization with the Gnome Calendar.
1999-07-27 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_object_new_from_string): New function. Creates
an iCalObject from a vCalendar string that is supposed to contain
only one vEvent.
* calendar.c:
(calendar_save): Split this routine in two.
* gnome-cal.c (gnome_calendar_new): Create the corba server here.
* main.c: Include gnorba.h, and corba-cal-factory.h here
(close_cmd): Kill the calendar server on shutdown.
* calobj.c (load_recur_yearly_day): Added a fixme comment. WE
need to handle intervals in the years.
* calendar.c (calendar_object_find_in_list, calendar_object_find,
calendar_object_find_todo, calendar_object_find_event): New
functions for looking up information.
* main.c (gnome_calendar_locate): New function.
* corba-cal.c (calendar_create_object): New file. Implements the
corba server.
* calendar.c (calendar_object_changed): Flag pilot-status as changed.
* calobj.c (ical_object_to_vobject): Save pilot information for syncing.
(ical_object_create_from_vobject): Load syncing information for
pilot. Do it in a way compatible with KOrganizer.
1999-07-26 Miguel de Icaza <miguel@gnu.org>
* calobj.c (ical_object_create_from_vobject): Generate unique IDs
on Vevents we load that lack it. WE need this for the old
gnome calendar generated files (ie, before now :-).
svn path=/trunk/; revision=1038
Diffstat (limited to 'calendar/calendar.h')
-rw-r--r-- | calendar/calendar.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/calendar.h b/calendar/calendar.h index 8dc0c517c3..2ea2753057 100644 --- a/calendar/calendar.h +++ b/calendar/calendar.h @@ -26,6 +26,8 @@ typedef struct { /* If the calendar was last modified */ int modified; void *temp; + + void *corba_server; } Calendar; /* This is only used by the calendar_get_events_in_range routine to get @@ -38,6 +40,9 @@ typedef struct { } CalendarObject; Calendar *calendar_new (char *title); +char *calendar_get_as_vcal_string (Calendar *cal); +char *calendar_string_from_object (iCalObject *object); + char *calendar_load (Calendar *cal, char *fname); void calendar_save (Calendar *cal, char *fname); void calendar_add_object (Calendar *cal, iCalObject *obj); @@ -63,6 +68,12 @@ void calendar_destroy_event_list (GList *l); void calendar_object_changed (Calendar *cal, iCalObject *obj, int flags); void calendar_notify (time_t time, CalendarAlarm *which, void *data); + +iCalObject *calendar_object_find_event (Calendar *cal, const char *uid); +iCalObject *calendar_object_find_todo (Calendar *cal, const char *uid); +iCalObject *calendar_object_find (Calendar *cal, const char *uid); +iCalObject *calendar_object_find_by_pilot (Calendar *cal, int pilot_id); + END_GNOME_DECLS #endif |