added new arguments to the notifyObjectsSent method for backends to return
authorRodrigo Moya <rodrigo@ximian.com>
Mon, 1 Mar 2004 15:46:01 +0000 (15:46 +0000)
committerRodrigo Moya <rodrigo@src.gnome.org>
Mon, 1 Mar 2004 15:46:01 +0000 (15:46 +0000)
commitb8c12e58889810b8ec048fa8c3d933ae67857703
treed175d876c006d8a060e81c74190805f76ac1b8be
parent382bf50e6b0a5a01cba82e20efc52011e3432955
added new arguments to the notifyObjectsSent method for backends to return

2004-03-01  Rodrigo Moya <rodrigo@ximian.com>

* idl/Evolution-DataServer-Calendar.idl: added new arguments to the
notifyObjectsSent method for backends to return the list of users and
events for which it operated.

* libedata-cal/e-data-cal.[ch] (e_data_cal_notify_objects_sent): added
new argument and call the listener's notifyObjectsSent method with
a GNOME_Evolution_Calendar_UserList.

* libedata-cal/e-cal-backend-sync.[ch] (e_cal_backend_sync_send_objects,
_e_cal_backend_send_objects): added new arguments.

* backends/file/e-cal-backend-file.c (e_cal_backend_file_send_objects):
* backends/http/e-cal-backend-http.c (e_cal_backend_http_send_objects):
* backends/contacts/e-cal-backend-contacts.c
(e_cal_backend_contacts_send_objects):
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_send_objects): adapted to changes in
ECalBackend/ECalBackendSync API.

* backends/file/e-cal-backend-file.c (e_cal_backend_file_receive_objects,
e_cal_backend_file_send_objects): removed wrong return statement.

* libecal/e-cal-marshal.list: added new marshaller.

* libecal/e-cal.[ch] (e_cal_send_objects): get the user list from the
operation's result.
(cal_objects_sent_cb): added the new arguments and copy them to the
operation's result.

* libecal/e-cal-listener.[ch]: added new arguments to "send_objects"
signal.
(impl_notifyObjectsSent): added UserList argument to CORBA method, and
convert the CORBA user list to a GList to be passed to the signal
handlers.
(e_cal_listener_class_init): added new arguments to "send_objects"
signal.
16 files changed:
calendar/ChangeLog
calendar/backends/contacts/e-cal-backend-contacts.c
calendar/backends/file/e-cal-backend-file.c
calendar/backends/groupwise/e-cal-backend-groupwise.c
calendar/backends/http/e-cal-backend-http.c
calendar/idl/Evolution-DataServer-Calendar.idl
calendar/libecal/e-cal-listener.c
calendar/libecal/e-cal-listener.h
calendar/libecal/e-cal-marshal.list
calendar/libecal/e-cal.c
calendar/libecal/e-cal.h
calendar/libedata-cal/e-cal-backend-sync.c
calendar/libedata-cal/e-cal-backend-sync.h
calendar/libedata-cal/e-cal-backend.c
calendar/libedata-cal/e-data-cal.c
calendar/libedata-cal/e-data-cal.h