diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-06-22 01:31:45 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-06-22 01:31:45 +0800 |
commit | 1d6434523ad909c60c6a449d64fba09740dc46dc (patch) | |
tree | 7de3da6e69e60953c218da8bca0989fc64999616 /calendar/cal-client/cal-client.h | |
parent | 1b2f9e9c120f8bf75fad41e669110ce73c54d304 (diff) | |
download | gsoc2013-evolution-1d6434523ad909c60c6a449d64fba09740dc46dc.tar.gz gsoc2013-evolution-1d6434523ad909c60c6a449d64fba09740dc46dc.tar.zst gsoc2013-evolution-1d6434523ad909c60c6a449d64fba09740dc46dc.zip |
create a WombatClient when creating a CalClient object, so that we can
2001-06-21 Rodrigo Moya <rodrigo@ximian.com>
* cal-client/cal-client.[ch]:
(cal_client_init): create a WombatClient when creating a CalClient
object, so that we can receive authentication notifications from
the wombat
(cal_client_destroy): destroy the WombatClient object when dying
(cal_client_set_auth_func): new function to set the authentication
function to be called when a password is required by the calendar
server (through the WombatClient object)
(cal_client_get_free_busy): new function for calling the new IDL
method Cal::getFreeBusy
* gui/alarm-notify/Makefile.am: add libwombat to LDADD
* gui/Makefile.am: add libwombat to LDADD
svn path=/trunk/; revision=10366
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r-- | calendar/cal-client/cal-client.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 3c6570e5be..07acc0d232 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -81,14 +81,23 @@ struct _CalClientClass { void (* obj_updated) (CalClient *client, const char *uid); void (* obj_removed) (CalClient *client, const char *uid); + + void (* forget_password) (CalClient *client, const char *key); }; +typedef gchar * (* CalClientAuthFunc) (CalClient *client, + const gchar *prompt, + const gchar *key, + gpointer user_data); + GtkType cal_client_get_type (void); CalClient *cal_client_construct (CalClient *client); CalClient *cal_client_new (void); +void cal_client_set_auth_func (CalClient *client, CalClientAuthFunc func, gpointer data); + gboolean cal_client_open_calendar (CalClient *client, const char *str_uri, gboolean only_if_exists); CalClientLoadState cal_client_get_load_state (CalClient *client); @@ -107,6 +116,8 @@ GList *cal_client_get_changes (CalClient *client, CalObjType type, const char *c GList *cal_client_get_objects_in_range (CalClient *client, CalObjType type, time_t start, time_t end); +GList *cal_client_get_free_busy (CalClient *client, time_t start, time_t end); + void cal_client_generate_instances (CalClient *client, CalObjType type, time_t start, time_t end, CalRecurInstanceFn cb, gpointer cb_data); |