diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-06-22 21:08:02 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-06-22 21:08:02 +0800 |
commit | a7846c7d6d408bf9acdb04353f0b9097745eb277 (patch) | |
tree | 9d4d33aea6123e5e203eaa42b371e95312eae363 /calendar/pcs/cal-backend.h | |
parent | 997e2b35630e4d290ce67b125cd94f118cc83892 (diff) | |
download | gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar.gz gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar.zst gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.zip |
changed getFreeBusy method to return a CalObj instead of a sequence
2001-06-22 Rodrigo Moya <rodrigo@ximian.com>
* 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
Diffstat (limited to 'calendar/pcs/cal-backend.h')
-rw-r--r-- | calendar/pcs/cal-backend.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/pcs/cal-backend.h b/calendar/pcs/cal-backend.h index 35cddaa492..44f87e3f34 100644 --- a/calendar/pcs/cal-backend.h +++ b/calendar/pcs/cal-backend.h @@ -88,7 +88,7 @@ struct _CalBackendClass { GList *(* get_objects_in_range) (CalBackend *backend, CalObjType type, time_t start, time_t end); - GList *(* get_free_busy) (CalBackend *backend, time_t start, time_t end); + char *(* get_free_busy) (CalBackend *backend, time_t start, time_t end); /* Change related virtual methods */ GNOME_Evolution_Calendar_CalObjChangeSeq * (* get_changes) ( @@ -126,7 +126,7 @@ GList *cal_backend_get_uids (CalBackend *backend, CalObjType type); GList *cal_backend_get_objects_in_range (CalBackend *backend, CalObjType type, time_t start, time_t end); -GList *cal_backend_get_free_busy (CalBackend *backend, time_t start, time_t end); +char *cal_backend_get_free_busy (CalBackend *backend, time_t start, time_t end); GNOME_Evolution_Calendar_CalObjChangeSeq * cal_backend_get_changes ( CalBackend *backend, CalObjType type, const char *change_id); |