diff options
author | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-09-25 22:30:22 +0800 |
---|---|---|
committer | Eskil Heyn Olsen <eskil@src.gnome.org> | 1999-09-25 22:30:22 +0800 |
commit | 008fb50b9f799f202453759650a2b4ec4fc2b5af (patch) | |
tree | 90f8d7ff4d1afc99ae2e77c6ee1722853a0e97d4 /calendar/GnomeCal.idl | |
parent | 6ed1a40852d43229bec2509d7d0b9e35efde163f (diff) | |
download | gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.tar gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.tar.gz gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.tar.bz2 gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.tar.lz gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.tar.xz gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.tar.zst gsoc2013-evolution-008fb50b9f799f202453759650a2b4ec4fc2b5af.zip |
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
Diffstat (limited to 'calendar/GnomeCal.idl')
-rw-r--r-- | calendar/GnomeCal.idl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/calendar/GnomeCal.idl b/calendar/GnomeCal.idl index 036dc55db0..5c5d400d9e 100644 --- a/calendar/GnomeCal.idl +++ b/calendar/GnomeCal.idl @@ -5,6 +5,7 @@ module GNOME { interface Repository { exception NotFound {}; + typedef sequence<string> String_Sequence; /* * get_object: @@ -17,6 +18,18 @@ module GNOME { 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,11 +75,20 @@ 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: * * Returns a vCalendar with all the objects that have been |