From 008fb50b9f799f202453759650a2b4ec4fc2b5af Mon Sep 17 00:00:00 2001 From: Eskil Heyn Olsen Date: Sat, 25 Sep 1999 14:30:22 +0000 Subject: the g_free that was commented out since glib said was a duplicate free, * corba-cal.c: the g_free that was commented out since glib said was a duplicate free, was supposed to be a free. * GnomeCal.idl/corba-cal.c: added a get_object_id_list and a get_objects_by_id_list. Latter is not done. * calendar-conduit.c: rewrote the way the conduit iterates over records. It no longers fetches all entries (since that didn't work with more then 285 entries. It now fetches the id list, and gets each record. (will be using get_objects_by_id_list to get records in amounts of 10 or so later, to reduce amount of corba calls). * calendar-conduit.c: now sets alarm parameters when transferring from gnomecal to pilot. svn path=/trunk/; revision=1257 --- calendar/gui/GnomeCal.idl | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'calendar/gui/GnomeCal.idl') diff --git a/calendar/gui/GnomeCal.idl b/calendar/gui/GnomeCal.idl index 036dc55db0..5c5d400d9e 100644 --- a/calendar/gui/GnomeCal.idl +++ b/calendar/gui/GnomeCal.idl @@ -5,6 +5,7 @@ module GNOME { interface Repository { exception NotFound {}; + typedef sequence String_Sequence; /* * get_object: @@ -16,6 +17,18 @@ module GNOME { string get_object (in string uid) raises (NotFound); + /* + * get_objects_by_id_list: + * @uid_list: a sequence of Unique Identifiers + * + * Returns a vCalendar object for the objects + * that matches the given UID list @uid_list; + * NotFound is raised if any of the given UIDs + * were not found. + */ + string get_objects_by_id_list (in String_Sequence uid) + raises (NotFound); + /* * get_object_by_pilot_id: * @pilot_id: the pilot id @@ -26,6 +39,13 @@ module GNOME { string get_object_by_pilot_id (in long pilot_id) raises (NotFound); + /* + * get_id_from_pilot_id: + * @pilot_id: the pilot id + * + * Returns the object id that matches the @pilot_id + * identifier. + */ string get_id_from_pilot_id (in long pilot_id) raises (NotFound); @@ -55,10 +75,19 @@ module GNOME { /* * get_objects: * + * Danger Will Robinson : This can result in a + * huge string, namely the size of all your entries. * Returns a vCalendar with all the objects */ string get_objects (); + /* + * get_object_id_list + * + * Returns a sequence of the UID's of the entries + */ + String_Sequence get_object_id_list(); + /* * get_updated_objects: * -- cgit v1.2.3