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-db.c | |
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-db.c')
-rw-r--r-- | calendar/pcs/cal-backend-db.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/pcs/cal-backend-db.c b/calendar/pcs/cal-backend-db.c index 785ba98440..56b9786c0d 100644 --- a/calendar/pcs/cal-backend-db.c +++ b/calendar/pcs/cal-backend-db.c @@ -77,9 +77,9 @@ static GList* cal_backend_db_get_objects_in_range (CalBackend *backend, CalObjType type, time_t start, time_t end); -static GList *cal_backend_db_get_free_busy (CalBackend *backend, - time_t start, - time_t end); +static char *cal_backend_db_get_free_busy (CalBackend *backend, + time_t start, + time_t end); static GNOME_Evolution_Calendar_CalObjChangeSeq *cal_backend_db_get_changes ( CalBackend *backend, CalObjType type, const char *change_id); @@ -939,7 +939,7 @@ cal_backend_db_get_objects_in_range (CalBackend *backend, } /* get_free_busy handler for the DB backend */ -static GList * +static char * cal_backend_db_get_free_busy (CalBackend *backend, time_t start, time_t end) { return NULL; |