aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calobj.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-17 13:08:55 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-17 13:08:55 +0800
commitad0347d16bfd10f5f6b0783d7030cac420c4362a (patch)
tree4b0a09d1b133334ce8fee945e8442417ed1268b5 /calendar/calobj.h
parent541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72 (diff)
downloadgsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar
gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.gz
gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.bz2
gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.lz
gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.xz
gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.zst
gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.zip
Remove deadly excessive abuse of encapsulation -mig
svn path=/trunk/; revision=147
Diffstat (limited to 'calendar/calobj.h')
-rw-r--r--calendar/calobj.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/calendar/calobj.h b/calendar/calobj.h
index 9b69eefd5f..ab9d061956 100644
--- a/calendar/calobj.h
+++ b/calendar/calobj.h
@@ -157,16 +157,15 @@ typedef struct {
} iCalObject;
/* The callback for the recurrence generator */
-typedef void (*iCalObjectFn)(iCalObject *, time_t, time_t, void *);
+typedef void (*calendarfn)(iCalObject *, time_t, time_t, void *);
iCalObject *ical_new (char *comment, char *organizer, char *summary);
iCalObject *ical_object_new (void);
void ical_object_destroy (iCalObject *ico);
iCalObject *ical_object_create_from_vobject (VObject *obj, const char *object_name);
VObject *ical_object_to_vobject (iCalObject *ical);
-void ical_foreach (GList *events, iCalObjectFn fn, void *closure);
-void ical_object_set_user_data (iCalObject *ical, void *user_data);
-void *ical_object_get_user_data (iCalObject *ical);
+void ical_foreach (GList *events, calendarfn fn, void *closure);
+void ical_object_generate_events (iCalObject *ico, time_t start, time_t end, calendarfn cb, void *closure);
END_GNOME_DECLS