From a7846c7d6d408bf9acdb04353f0b9097745eb277 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 22 Jun 2001 13:08:02 +0000 Subject: changed getFreeBusy method to return a CalObj instead of a sequence 2001-06-22 Rodrigo Moya * idl/evolution-calendar.idl: changed getFreeBusy method to return a CalObj instead of a sequence * cal-client/cal-client.[ch] (cal_client_get_free_busy): changed it to work like the cal_client_get_object function, that is, it does not return anymore a list of UIDs, but a CalClientGetStatus code, and added a new parameter for the caller to get the component back when this function returns (cal_client_open): aggregate WombatClient interface to the CalListener being used * pcs/cal-backend-db.c, pcs/cal-backend-file.c (..get_free_busy): set return value to "char *" as it will be returning a FreeBusy object, and not a list of UIDs * pcs/cal-backend.[ch] (cal_backend_get_free_busy): ditto * pcs/cal.c (cal_construct): queryInterface on the listener to obtain the WombatClient interface svn path=/trunk/; revision=10393 --- calendar/idl/evolution-calendar.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index d14decca04..1016cf2af3 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -141,7 +141,7 @@ module Calendar { raises (InvalidRange); /* Returns free/busy objects for the given interval */ - CalObjUIDSeq getFreeBusy (in Time_t start, in Time_t end); + CalObj getFreeBusy (in Time_t start, in Time_t end); /* Gets the alarms for the specified component that trigger in * the specified time range. -- cgit v1.2.3