diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-05-12 12:16:46 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-05-12 12:16:46 +0800 |
commit | 47c9fef15abc15c678e4cde60ee71d741dfe23bf (patch) | |
tree | 347e2e2ccc386409e254b6f25c4c94f98a9efafe /calendar/cal-client/cal-client.h | |
parent | d55e9e0406875ffb47f40f57da3c6abaac90734a (diff) | |
download | gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.tar gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.tar.gz gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.tar.bz2 gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.tar.lz gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.tar.xz gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.tar.zst gsoc2013-evolution-47c9fef15abc15c678e4cde60ee71d741dfe23bf.zip |
New function to add today's alarms for a single object.
2000-05-11 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (add_alarms_for_object): New function to add
today's alarms for a single object.
(gnome_calendar_object_updated_cb): Update the object's alarms.
* idl/evolution-calendar.idl (Cal): Added a
get_alarms_for_object() method.
* pcs/cal.c (Cal_get_alarms_for_object): Implemented method.
* pcs/cal-backend.c (cal_backend_get_alarms_for_object): New
function.
* pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_for_object):
Implemented.
* cal-client/cal-client.c (cal_client_get_alarms_for_object): New
function.
svn path=/trunk/; revision=3003
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r-- | calendar/cal-client/cal-client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 5bb672229d..12cbcc7c87 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -82,6 +82,10 @@ GList *cal_client_get_events_in_range (CalClient *client, time_t start, time_t e GList *cal_client_get_alarms_in_range (CalClient *client, time_t start, time_t end); +gboolean cal_client_get_alarms_for_object (CalClient *client, const char *uid, + time_t start, time_t end, + GList **alarms); + gboolean cal_client_update_object (CalClient *client, const char *uid, const char *calobj); gboolean cal_client_remove_object (CalClient *client, const char *uid); |