From 9d6fc52249f34b5a3985bea8ace18059be9e4bba Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 2 Feb 2000 09:51:20 +0000 Subject: Added the get_object() method. 2000-02-03 Federico Mena Quintero * evolution-calendar.idl (Cal): Added the get_object() method. * cal-client.c (cal_client_get_object): New function to get a calendar object by its UID. * cal.c (Cal_get_object): Implemented. * cal-backend.c (cal_backend_get_object): New unfinished backend function. We need some reorganizing of how the calendar objects are stored. svn path=/trunk/; revision=1663 --- calendar/idl/evolution-calendar.idl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'calendar/idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index 2be11abe1f..2ccfc0ec80 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -27,8 +27,14 @@ module Calendar { /* Calendar client interface */ interface Cal : Bonobo::Unknown { + exception NotFound {}; + /* A calendar is identified by its URI */ readonly attribute string uri; + + /* Gets an object based on its URI */ + CalObj get_object (in CalObjUID uid) + raises (NotFound); }; /* Listener for changes in a calendar */ -- cgit