EServerSideSource: Support creating/deleting remote resources.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 2 Aug 2012 17:51:41 +0000 (13:51 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 3 Aug 2012 15:39:50 +0000 (11:39 -0400)
commit945ef632647208496e0077f55d67d40e7e86fa08
tree6dca41309d5473c18d3c7e0f6aec74f50cb598d0
parent2c4c6793661af77492e6cab0704cd1767126e6d1
EServerSideSource: Support creating/deleting remote resources.

Add "remote-creatable" and "remote-deletable" properties which work the
same as the "removable" and "writable" properties in terms of exporting
and unexporting D-Bus interfaces.

Add handlers for Create() and Delete() D-Bus method invocations, which
call e_source_remote_create() and e_source_remote_delete() respectively.

Override the remote_create_sync() and remote_delete_sync() methods to
ferry the request to an associated ECollectionBackend (or set an error
if there is no associated ECollectionBackend).
docs/reference/libebackend/libebackend-sections.txt
libebackend/e-server-side-source.c
libebackend/e-server-side-source.h