diff options
author | JP Rosevear <jpr@ximian.com> | 2002-08-08 03:34:07 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-08-08 03:34:07 +0800 |
commit | 51012e60d827b73a7bfd42b921760b0835dc7b66 (patch) | |
tree | a2a99d0306ad84d22226541cd3199e379e7692af /calendar/pcs/cal-backend.c | |
parent | 1c34dc5138579c3c7855622ae0e0880c55c62f68 (diff) | |
download | gsoc2013-evolution-51012e60d827b73a7bfd42b921760b0835dc7b66.tar.gz gsoc2013-evolution-51012e60d827b73a7bfd42b921760b0835dc7b66.tar.zst gsoc2013-evolution-51012e60d827b73a7bfd42b921760b0835dc7b66.zip |
just return the object untouched since we don't send anything
2002-08-07 JP Rosevear <jpr@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_send_object): just
return the object untouched since we don't send anything
* pcs/cal-backend.c (cal_backend_remove_object): call virtual method
* pcs/cal-backend.h: add send result codes, new proto
* pcs/cal.c (impl_Cal_send_object): implement sendObject corba call
(cal_class_init): add to epv
* gui/itip-utils.c (comp_toplevel_with_zones): utility function to
create icalcomponent with necessary timezone info
(comp_has_attendee): see if attendee is in the attendee list
(comp_server_send): use above and remove attendees if the server
sends them
* gui/e-itip-control.c (show_current_todo): remove unused var
* idl/evolution-calendar.idl: add Busy exception and
* cal-client/cal-client.c (cal_client_send_object): send object
via the server (if the server can)
* cal-client/cal-client.h: add send results and new proto
svn path=/trunk/; revision=17734
Diffstat (limited to 'calendar/pcs/cal-backend.c')
-rw-r--r-- | calendar/pcs/cal-backend.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c index 50aeb148e2..02254f07c5 100644 --- a/calendar/pcs/cal-backend.c +++ b/calendar/pcs/cal-backend.c @@ -158,6 +158,7 @@ cal_backend_class_init (CalBackendClass *class) class->get_alarms_for_object = NULL; class->update_objects = NULL; class->remove_object = NULL; + class->send_object = NULL; } @@ -709,6 +710,18 @@ cal_backend_remove_object (CalBackend *backend, const char *uid) return (* CLASS (backend)->remove_object) (backend, uid); } +CalBackendSendResult +cal_backend_send_object (CalBackend *backend, const char *calobj, char **new_calobj, + GNOME_Evolution_Calendar_UserList **user_list) +{ + g_return_val_if_fail (backend != NULL, CAL_BACKEND_SEND_INVALID_OBJECT); + g_return_val_if_fail (IS_CAL_BACKEND (backend), CAL_BACKEND_SEND_INVALID_OBJECT); + g_return_val_if_fail (calobj != NULL, CAL_BACKEND_SEND_INVALID_OBJECT); + + g_assert (CLASS (backend)->send_object != NULL); + return (* CLASS (backend)->send_object) (backend, calobj, new_calobj, user_list); +} + /** * cal_backend_last_client_gone: * @backend: A calendar backend. |