diff options
Diffstat (limited to 'calendar/pcs/cal-backend.h')
-rw-r--r-- | calendar/pcs/cal-backend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend.h b/calendar/pcs/cal-backend.h index 5ce9027415..2bbac4b3d4 100644 --- a/calendar/pcs/cal-backend.h +++ b/calendar/pcs/cal-backend.h @@ -68,6 +68,9 @@ struct _CalBackendClass { GList *(* get_uids) (CalBackend *backend, CalObjType type); GList *(* get_events_in_range) (CalBackend *backend, time_t start, time_t end); GList *(* get_alarms_in_range) (CalBackend *backend, time_t start, time_t end); + gboolean (* get_alarms_for_object) (CalBackend *backend, const char *uid, + time_t start, time_t end, + GList **alarms); gboolean (* update_object) (CalBackend *backend, const char *uid, const char *calobj); gboolean (* remove_object) (CalBackend *backend, const char *uid); }; @@ -90,6 +93,10 @@ GList *cal_backend_get_events_in_range (CalBackend *backend, time_t start, time_ GList *cal_backend_get_alarms_in_range (CalBackend *backend, time_t start, time_t end); +gboolean cal_backend_get_alarms_for_object (CalBackend *backend, const char *uid, + time_t start, time_t end, + GList **alarms); + gboolean cal_backend_update_object (CalBackend *backend, const char *uid, const char *calobj); gboolean cal_backend_remove_object (CalBackend *backend, const char *uid); |