aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/idl/evolution-calendar.idl
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-09 15:04:09 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-09 15:04:09 +0800
commit943862dd20ad79007900192fec5c705e9748542a (patch)
tree01330a057de763ae84f14e8ce004928d835012f1 /calendar/idl/evolution-calendar.idl
parent95ebc1fc92ebe028654b8842bc9d7e5174a0090e (diff)
downloadgsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.tar
gsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.tar.gz
gsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.tar.bz2
gsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.tar.lz
gsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.tar.xz
gsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.tar.zst
gsoc2013-evolution-943862dd20ad79007900192fec5c705e9748542a.zip
Added a get_n_objects() method.
2000-06-09 Federico Mena Quintero <federico@helixcode.com> * idl/evolution-calendar.idl (Cal): Added a get_n_objects() method. * pcs/cal-backend.c (cal_backend_get_n_objects): New function. * pcs/cal-backend-imc.c (cal_backend_imc_get_n_objects): Implemented. * pcs/cal.c (Cal_get_n_objects): Implemented. * cal-client/cal-client.c (cal_client_get_uids): Free the ev. (cal_client_get_n_objects): Implemented. * cal-util/calobj.h (iCalObjectField): New enumeration to identify the fields in an iCalObject. svn path=/trunk/; revision=3486
Diffstat (limited to 'calendar/idl/evolution-calendar.idl')
-rw-r--r--calendar/idl/evolution-calendar.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl
index 29d0a79780..b7340bf51a 100644
--- a/calendar/idl/evolution-calendar.idl
+++ b/calendar/idl/evolution-calendar.idl
@@ -80,6 +80,9 @@ module Calendar {
/* A calendar is identified by its URI */
readonly attribute string uri;
+ /* Gets the number of objects of the specified types */
+ long get_n_objects (in CalObjType type);
+
/* Gets an object based on its URI */
CalObj get_object (in CalObjUID uid)
raises (NotFound);