aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-09-05 00:19:21 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-09-05 00:19:21 +0800
commitf768bddb9325e7784477bcbcef0bce2a466a635a (patch)
tree7a5223bc31dc49e046ea4b41e0c3da35467b282c /calendar/pcs/cal-backend.h
parentddaa0af2ceba5de217424eeddfa3f650049ddfa1 (diff)
downloadgsoc2013-evolution-f768bddb9325e7784477bcbcef0bce2a466a635a.tar.gz
gsoc2013-evolution-f768bddb9325e7784477bcbcef0bce2a466a635a.tar.zst
gsoc2013-evolution-f768bddb9325e7784477bcbcef0bce2a466a635a.zip
provide error message param, give a dialog with the message if we get a
2002-09-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_server_send): provide error message param, give a dialog with the message if we get a busy result; return TRUE if we succeed (itip_send_comp): bail out if we had a problem sending via the server * cal-client/cal-client.c (cal_client_send_object): pass back error message if we get the busy exception in the new param * cal-client/cal-client.h: update proto * pcs/cal.c (impl_Cal_send_object): dump backend error message into Busy exception * pcs/cal-backend.h: update proto * pcs/cal-backend.c (cal_backend_send_object): take/pass new error message parameter * pcs/cal-backend-file.c (cal_backend_file_send_object): take new param * idl/evolution-calendar.idl: add errorMsg to Busy exception svn path=/trunk/; revision=17964
Diffstat (limited to 'calendar/pcs/cal-backend.h')
-rw-r--r--calendar/pcs/cal-backend.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/pcs/cal-backend.h b/calendar/pcs/cal-backend.h
index 69efb86c1a..737a1604e8 100644
--- a/calendar/pcs/cal-backend.h
+++ b/calendar/pcs/cal-backend.h
@@ -133,7 +133,8 @@ struct _CalBackendClass {
CalBackendResult (* remove_object) (CalBackend *backend, const char *uid);
CalBackendSendResult (* send_object) (CalBackend *backend, const char *calobj, char **new_calobj,
- GNOME_Evolution_Calendar_UserList **user_list);
+ GNOME_Evolution_Calendar_UserList **user_list,
+ char error_msg[256]);
/* Timezone related virtual methods */
icaltimezone *(* get_timezone) (CalBackend *backend, const char *tzid);
@@ -195,7 +196,8 @@ CalBackendResult cal_backend_update_objects (CalBackend *backend, const char *ca
CalBackendResult cal_backend_remove_object (CalBackend *backend, const char *uid);
CalBackendSendResult cal_backend_send_object (CalBackend *backend, const char *calobj, char **new_calobj,
- GNOME_Evolution_Calendar_UserList **user_list);
+ GNOME_Evolution_Calendar_UserList **user_list,
+ char error_msg[256]);
icaltimezone* cal_backend_get_timezone (CalBackend *backend, const char *tzid);
icaltimezone* cal_backend_get_default_timezone (CalBackend *backend);