From 86ec303a21211ab79c4e7a0c160e59b5605bfe15 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 17 Jul 2000 23:57:22 +0000 Subject: Docs docs docs - Federico svn path=/trunk/; revision=4206 --- calendar/cal-client/cal-client.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'calendar/cal-client/cal-client.c') diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index 90b4dcdbed..1e0a0561d5 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -550,6 +550,16 @@ cal_client_create_calendar (CalClient *client, const char *str_uri) return load_or_create (client, str_uri, FALSE); } +/** + * cal_client_get_n_objects: + * @client: A calendar client. + * @type: Type of objects that will be counted. + * + * Counts the number of calendar components of the specified @type. This can be + * used to count how many events, to-dos, or journals there are, for example. + * + * Return value: Number of components. + **/ int cal_client_get_n_objects (CalClient *client, CalObjType type) { -- cgit