diff options
Diffstat (limited to 'calendar/pcs/cal-backend.h')
-rw-r--r-- | calendar/pcs/cal-backend.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend.h b/calendar/pcs/cal-backend.h index 57f3acf18e..2daa4ad56b 100644 --- a/calendar/pcs/cal-backend.h +++ b/calendar/pcs/cal-backend.h @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Evolution calendar - generic backend class * * Copyright (C) 2000 Helix Code, Inc. @@ -75,6 +76,8 @@ struct _CalBackendClass { GList **alarms); gboolean (* update_object) (CalBackend *backend, const char *uid, const char *calobj); gboolean (* remove_object) (CalBackend *backend, const char *uid); + char *(* get_uid_by_pilot_id) (CalBackend *backend, unsigned long int pilot_id); + void (* update_pilot_id) (CalBackend *backend, const char *uid, unsigned long int pilot_id, unsigned long int pilot_status); }; GtkType cal_backend_get_type (void); @@ -101,12 +104,19 @@ 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); void cal_backend_last_client_gone (CalBackend *backend); +char *cal_backend_get_uid_by_pilot_id (CalBackend *backend, unsigned long int pilot_id); + +void cal_backend_update_pilot_id (CalBackend *backend, const char *uid, + unsigned long int pilot_id, + unsigned long int pilot_status); + END_GNOME_DECLS |