aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/GnomeCal.idl
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>2000-01-05 20:12:44 +0800
committerEskil Heyn Olsen <eskil@src.gnome.org>2000-01-05 20:12:44 +0800
commit36e5e42d31a56499b1b2534fdf9f6a720b3813e0 (patch)
tree9dbd0c4bea9781c1f5ddf321429fdeb165afdaec /calendar/GnomeCal.idl
parenta3b357a50150609a52ffc327c9355fceecab0b8a (diff)
downloadgsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.tar
gsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.tar.gz
gsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.tar.bz2
gsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.tar.lz
gsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.tar.xz
gsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.tar.zst
gsoc2013-evolution-36e5e42d31a56499b1b2534fdf9f6a720b3813e0.zip
Added an argument to the corba get_number_of_objects, so you can decide
which status the objects you count should have, eg. any or modified etc. Will add record type someday. svn path=/trunk/; revision=1535
Diffstat (limited to 'calendar/GnomeCal.idl')
-rw-r--r--calendar/GnomeCal.idl12
1 files changed, 10 insertions, 2 deletions
diff --git a/calendar/GnomeCal.idl b/calendar/GnomeCal.idl
index 3f9a64d291..a58358f3f1 100644
--- a/calendar/GnomeCal.idl
+++ b/calendar/GnomeCal.idl
@@ -97,10 +97,18 @@ module GNOME {
string get_updated_objects ();
/*
- * Returns the number of objects in the calendar
+ * Returns the number of objects of a specific type in the calendar
* repository.
*/
- long get_number_of_objects();
+
+ enum RecordStatus {
+ ANY, /* This means all records */
+ NEW,
+ MODIFIED,
+ DELETED
+ };
+
+ long get_number_of_objects(in RecordStatus record_status);
/*
* done: