aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-06-22 21:08:02 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-06-22 21:08:02 +0800
commita7846c7d6d408bf9acdb04353f0b9097745eb277 (patch)
tree9d4d33aea6123e5e203eaa42b371e95312eae363 /calendar/pcs/cal-backend.c
parent997e2b35630e4d290ce67b125cd94f118cc83892 (diff)
downloadgsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar
gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar.gz
gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar.bz2
gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar.lz
gsoc2013-evolution-a7846c7d6d408bf9acdb04353f0b9097745eb277.tar.xz
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.c')
-rw-r--r--calendar/pcs/cal-backend.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index d72a6fe5e6..76438ad51d 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -333,13 +333,11 @@ cal_backend_get_objects_in_range (CalBackend *backend, CalObjType type,
* @start: Start time for query.
* @end: End time for query.
*
- * Builds a list of unique identifiers corresponding to free/busy calendar
- * objects of the that occur or recur within the specified time range.
+ * Gets a free/busy object for the given time interval
*
- * Return value: A list of UID strings. The list should be freed using the
- * cal_obj_uid_list_free() function.
+ * Return value: a free/busy object
**/
-GList *
+char *
cal_backend_get_free_busy (CalBackend *backend, time_t start, time_t end)
{
g_return_val_if_fail (backend != NULL, NULL);