[evolution-data-server/account-mgmt: 5/39] Generate GDBus classes for a new D-Bus service.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/account-mgmt: 5/39] Generate GDBus classes for a new D-Bus service.
- Date: Thu, 27 Oct 2011 02:49:15 +0000 (UTC)
commit f6651e9d2d0407144d64e5fe32ad3e4b2abcd121
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Sep 29 16:06:05 2011 -0400
Generate GDBus classes for a new D-Bus service.
.../libedataserver/libedataserver-docs.sgml | 14 +
.../libedataserver/libedataserver-sections.txt | 219 ++++++++++++++++
docs/reference/libedataserver/libedataserver.types | 14 +
.../tmpl/e-dbus-authenticator-proxy.sgml | 104 ++++++++
.../tmpl/e-dbus-authenticator-skeleton.sgml | 37 +++
.../libedataserver/tmpl/e-dbus-authenticator.sgml | 270 ++++++++++++++++++++
.../tmpl/e-dbus-object-manager-client.sgml | 116 +++++++++
.../libedataserver/tmpl/e-dbus-object-proxy.sgml | 38 +++
.../tmpl/e-dbus-object-skeleton.sgml | 46 ++++
.../libedataserver/tmpl/e-dbus-object.sgml | 51 ++++
.../tmpl/e-dbus-source-manager-proxy.sgml | 104 ++++++++
.../tmpl/e-dbus-source-manager-skeleton.sgml | 37 +++
.../libedataserver/tmpl/e-dbus-source-manager.sgml | 155 +++++++++++
.../libedataserver/tmpl/e-dbus-source-proxy.sgml | 104 ++++++++
.../tmpl/e-dbus-source-skeleton.sgml | 37 +++
.../libedataserver/tmpl/e-dbus-source.sgml | 188 ++++++++++++++
libedataserver/Makefile.am | 40 +++-
...rg.gnome.evolution.dataserver.Authenticator.xml | 76 ++++++
.../org.gnome.evolution.dataserver.Source.xml | 54 ++++
...rg.gnome.evolution.dataserver.SourceManager.xml | 36 +++
20 files changed, 1737 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/libedataserver/libedataserver-docs.sgml b/docs/reference/libedataserver/libedataserver-docs.sgml
index ccc82a5..2050a31 100644
--- a/docs/reference/libedataserver/libedataserver-docs.sgml
+++ b/docs/reference/libedataserver/libedataserver-docs.sgml
@@ -26,6 +26,20 @@
</chapter>
<chapter>
+ <title>Generated Types</title>
+ <xi:include href="xml/e-dbus-object.xml"/>
+ <xi:include href="xml/e-dbus-object-proxy.xml"/>
+ <xi:include href="xml/e-dbus-object-skeleton.xml"/>
+ <xi:include href="xml/e-dbus-source.xml"/>
+ <xi:include href="xml/e-dbus-source-proxy.xml"/>
+ <xi:include href="xml/e-dbus-source-skeleton.xml"/>
+ <xi:include href="xml/e-dbus-source-manager.xml"/>
+ <xi:include href="xml/e-dbus-source-manager-proxy.xml"/>
+ <xi:include href="xml/e-dbus-source-manager-skeleton.xml"/>
+ <xi:include href="xml/e-dbus-object-manager-client.xml"/>
+ </chapter>
+
+ <chapter>
<title>Miscellaneous Utilities</title>
<xi:include href="xml/e-categories.xml"/>
<xi:include href="xml/e-client.xml"/>
diff --git a/docs/reference/libedataserver/libedataserver-sections.txt b/docs/reference/libedataserver/libedataserver-sections.txt
index bca3f66..6ecc412 100644
--- a/docs/reference/libedataserver/libedataserver-sections.txt
+++ b/docs/reference/libedataserver/libedataserver-sections.txt
@@ -119,6 +119,225 @@ ECredentialsPrivate
</SECTION>
<SECTION>
+<FILE>e-dbus-object</FILE>
+<TITLE>EDBusObject</TITLE>
+EDBusObject
+e_dbus_object_get_source
+e_dbus_object_peek_source
+<SUBSECTION Standard>
+E_DBUS_OBJECT
+E_DBUS_IS_OBJECT
+E_DBUS_TYPE_OBJECT
+E_DBUS_OBJECT_GET_IFACE
+EDBusObjectIface
+<SUBSECTION Private>
+e_dbus_object_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-object-manager-client</FILE>
+<TITLE>EDBusObjectManagerClient</TITLE>
+EDBusObjectManagerClient
+e_dbus_object_manager_client_new_sync
+e_dbus_object_manager_client_new
+e_dbus_object_manager_client_new_finish
+e_dbus_object_manager_client_new_for_bus_sync
+e_dbus_object_manager_client_new_for_bus
+e_dbus_object_manager_client_new_for_bus_finish
+e_dbus_object_manager_client_get_proxy_type
+<SUBSECTION Standard>
+E_DBUS_OBJECT_MANAGER_CLIENT
+E_DBUS_IS_OBJECT_MANAGER_CLIENT
+E_DBUS_TYPE_OBJECT_MANAGER_CLIENT
+E_DBUS_OBJECT_MANAGER_CLIENT_CLASS
+E_DBUS_IS_OBJECT_MANAGER_CLIENT_CLASS
+E_DBUS_OBJECT_MANAGER_CLIENT_GET_CLASS
+EDBusObjectManagerClientClass
+<SUBSECTION Private>
+EDBusObjectManagerClientPrivate
+e_dbus_object_manager_client_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-object-proxy</FILE>
+<TITLE>EDBusObjectProxy</TITLE>
+EDBusObjectProxy
+e_dbus_object_proxy_new
+<SUBSECTION Standard>
+E_DBUS_OBJECT_PROXY
+E_DBUS_IS_OBJECT_PROXY
+E_DBUS_TYPE_OBJECT_PROXY
+E_DBUS_OBJECT_PROXY_CLASS
+E_DBUS_IS_OBJECT_PROXY_CLASS
+E_DBUS_OBJECT_PROXY_GET_CLASS
+EDBusObjectProxyClass
+<SUBSECTION Private>
+EDBusObjectProxyPrivate
+e_dbus_object_proxy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-object-skeleton</FILE>
+<TITLE>EDBusObjectSkeleton</TITLE>
+EDBusObjectSkeleton
+e_dbus_object_skeleton_new
+e_dbus_object_skeleton_set_source
+<SUBSECTION Standard>
+E_DBUS_OBJECT_SKELETON
+E_DBUS_IS_OBJECT_SKELETON
+E_DBUS_TYPE_OBJECT_SKELETON
+E_DBUS_OBJECT_SKELETON_CLASS
+E_DBUS_IS_OBJECT_SKELETON_CLASS
+E_DBUS_OBJECT_SKELETON_GET_CLASS
+EDBusObjectSkeletonClass
+<SUBSECTION Private>
+EDBusObjectSkeletonPrivate
+e_dbus_object_skeleton_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source</FILE>
+<TITLE>EDBusSource</TITLE>
+EDBusSource
+e_dbus_source_get_uid
+e_dbus_source_dup_uid
+e_dbus_source_set_uid
+e_dbus_source_get_data
+e_dbus_source_dup_data
+e_dbus_source_set_data
+e_dbus_source_get_writable
+e_dbus_source_set_writable
+e_dbus_source_call_submit_data_sync
+e_dbus_source_call_submit_data
+e_dbus_source_call_submit_data_finish
+e_dbus_source_complete_submit_data
+e_dbus_source_interface_info
+e_dbus_source_override_properties
+<SUBSECTION Standard>
+E_DBUS_SOURCE
+E_DBUS_IS_SOURCE
+E_DBUS_TYPE_SOURCE
+E_DBUS_SOURCE_CLASS
+E_DBUS_SOURCE_GET_IFACE
+E_DBUS_SOURCE_SKELETON
+E_DBUS_IS_SOURCE_SKELETON
+E_DBUS_TYPE_SOURCE_SKELETON
+E_DBUS_SOURCE_SKELETON_CLASS
+E_DBUS_IS_SOURCE_SKELETON_CLASS
+E_DBUS_SOURCE_SKELETON_GET_CLASS
+EDBusSourceIface
+<SUBSECTION Private>
+e_dbus_source_get_type
+e_dbus_source_skeleton_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-proxy</FILE>
+<TITLE>EDBusSourceProxy</TITLE>
+EDBusSourceProxy
+e_dbus_source_proxy_new_sync
+e_dbus_source_proxy_new
+e_dbus_source_proxy_new_finish
+e_dbus_source_proxy_new_for_bus_sync
+e_dbus_source_proxy_new_for_bus
+e_dbus_source_proxy_new_for_bus_finish
+<SUBSECTION Standard>
+E_DBUS_SOURCE_PROXY
+E_DBUS_IS_SOURCE_PROXY
+E_DBUS_TYPE_SOURCE_PROXY
+E_DBUS_SOURCE_PROXY_CLASS
+E_DBUS_IS_SOURCE_PROXY_CLASS
+E_DBUS_SOURCE_PROXY_GET_CLASS
+EDBusSourceProxyClass
+<SUBSECTION Private>
+EDBusSourceProxyPrivate
+e_dbus_source_proxy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-skeleton</FILE>
+<TITLE>EDBusSourceSkeleton</TITLE>
+EDBusSourceSkeleton
+e_dbus_source_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_SOURCE_SKELETON
+E_DBUS_IS_SOURCE_SKELETON
+E_DBUS_TYPE_SOURCE_SKELETON
+E_DBUS_SOURCE_SKELETON_CLASS
+E_DBUS_IS_SOURCE_SKELETON_CLASS
+E_DBUS_SOURCE_SKELETON_GET_CLASS
+EDBusSourceSkeletonClass
+<SUBSECTION Private>
+EDBusSourceSkeletonPrivate
+e_dbus_source_skeleton_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-manager</FILE>
+<TITLE>EDBusSourceManager</TITLE>
+EDBusSourceManager
+e_dbus_source_manager_interface_info
+e_dbus_source_manager_override_properties
+e_dbus_source_manager_call_create_source_sync
+e_dbus_source_manager_call_create_source
+e_dbus_source_manager_call_create_source_finish
+e_dbus_source_manager_complete_create_source
+e_dbus_source_manager_call_remove_sources_sync
+e_dbus_source_manager_call_remove_sources
+e_dbus_source_manager_call_remove_sources_finish
+e_dbus_source_manager_complete_remove_sources
+<SUBSECTION Standard>
+E_DBUS_SOURCE_MANAGER
+E_DBUS_IS_SOURCE_MANAGER
+E_DBUS_TYPE_SOURCE_MANAGER
+E_DBUS_SOURCE_MANAGER_GET_IFACE
+EDBusSourceManagerIface
+<SUBSECTION Private>
+e_dbus_source_manager_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-manager-proxy</FILE>
+<TITLE>EDBusSourceManagerProxy</TITLE>
+EDBusSourceManagerProxy
+e_dbus_source_manager_proxy_new_sync
+e_dbus_source_manager_proxy_new
+e_dbus_source_manager_proxy_new_finish
+e_dbus_source_manager_proxy_new_for_bus_sync
+e_dbus_source_manager_proxy_new_for_bus
+e_dbus_source_manager_proxy_new_for_bus_finish
+<SUBSECTION Standard>
+E_DBUS_SOURCE_MANAGER_PROXY
+E_DBUS_IS_SOURCE_MANAGER_PROXY
+E_DBUS_TYPE_SOURCE_MANAGER_PROXY
+E_DBUS_SOURCE_MANAGER_PROXY_CLASS
+E_DBUS_IS_SOURCE_MANAGER_PROXY_CLASS
+E_DBUS_SOURCE_MANAGER_PROXY_GET_CLASS
+EDBusSourceManagerProxyClass
+<SUBSECTION Private>
+EDBusSourceManagerProxyPrivate
+e_dbus_source_manager_proxy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-manager-skeleton</FILE>
+<TITLE>EDBusSourceManagerSkeleton</TITLE>
+EDBusSourceManagerSkeleton
+e_dbus_source_manager_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_SOURCE_MANAGER_SKELETON
+E_DBUS_IS_SOURCE_MANAGER_SKELETON
+E_DBUS_TYPE_SOURCE_MANAGER_SKELETON
+E_DBUS_SOURCE_MANAGER_SKELETON_CLASS
+E_DBUS_IS_SOURCE_MANAGER_SKELETON_CLASS
+E_DBUS_SOURCE_MANAGER_SKELETON_GET_CLASS
+EDBusSourceManagerSkeletonClass
+<SUBSECTION Private>
+EDBusSourceManagerSkeletonPrivate
+e_dbus_source_manager_skeleton_get_type
+</SECTION>
+
+<SECTION>
<FILE>e-flag</FILE>
<TITLE>EFlag</TITLE>
EFlag
diff --git a/docs/reference/libedataserver/libedataserver.types b/docs/reference/libedataserver/libedataserver.types
index 4c2a0cf..d4678e5 100644
--- a/docs/reference/libedataserver/libedataserver.types
+++ b/docs/reference/libedataserver/libedataserver.types
@@ -5,9 +5,23 @@
#include <libedataserver/e-proxy.h>
#include <libedataserver/e-source.h>
+#include <libedataserver/e-dbus-source.h>
+#include <libedataserver/e-dbus-source-manager.h>
+
e_client_get_type
e_iterator_get_type
e_list_get_type
e_list_iterator_get_type
e_proxy_get_type
e_source_get_type
+
+e_dbus_object_get_type
+e_dbus_object_proxy_get_type
+e_dbus_object_skeleton_get_type
+e_dbus_object_manager_client_get_type
+e_dbus_source_get_type
+e_dbus_source_proxy_get_type
+e_dbus_source_skeleton_get_type
+e_dbus_source_manager_get_type
+e_dbus_source_manager_proxy_get_type
+e_dbus_source_manager_skeleton_get_type
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-authenticator-proxy.sgml b/docs/reference/libedataserver/tmpl/e-dbus-authenticator-proxy.sgml
new file mode 100644
index 0000000..1979417
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-authenticator-proxy.sgml
@@ -0,0 +1,104 @@
+<!-- ##### SECTION Title ##### -->
+EDBusAuthenticatorProxy
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusAuthenticatorProxy ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_proxy_new_sync ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_proxy_new ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_proxy_new_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_proxy_new_for_bus_sync ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_proxy_new_for_bus ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_proxy_new_for_bus_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-authenticator-skeleton.sgml b/docs/reference/libedataserver/tmpl/e-dbus-authenticator-skeleton.sgml
new file mode 100644
index 0000000..85f601c
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-authenticator-skeleton.sgml
@@ -0,0 +1,37 @@
+<!-- ##### SECTION Title ##### -->
+EDBusAuthenticatorSkeleton
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusAuthenticatorSkeleton ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_skeleton_new ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-authenticator.sgml b/docs/reference/libedataserver/tmpl/e-dbus-authenticator.sgml
new file mode 100644
index 0000000..fa01da0
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-authenticator.sgml
@@ -0,0 +1,270 @@
+<!-- ##### SECTION Title ##### -->
+EDBusAuthenticator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusAuthenticator ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SIGNAL EDBusAuthenticator::handle-cancel ##### -->
+<para>
+
+</para>
+
+ edbusauthenticator: the object which received the signal.
+ arg1:
+ Returns:
+
+<!-- ##### SIGNAL EDBusAuthenticator::handle-ready ##### -->
+<para>
+
+</para>
+
+ edbusauthenticator: the object which received the signal.
+ arg1:
+ Returns:
+
+<!-- ##### SIGNAL EDBusAuthenticator::handle-secret-accepted ##### -->
+<para>
+
+</para>
+
+ edbusauthenticator: the object which received the signal.
+ arg1:
+ Returns:
+
+<!-- ##### SIGNAL EDBusAuthenticator::handle-secret-rejected ##### -->
+<para>
+
+</para>
+
+ edbusauthenticator: the object which received the signal.
+ arg1:
+ Returns:
+
+<!-- ##### SIGNAL EDBusAuthenticator::response ##### -->
+<para>
+
+</para>
+
+ edbusauthenticator: the object which received the signal.
+ arg1:
+ arg2:
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_ready_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_ready ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_ready_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_complete_ready ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_cancel_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_cancel ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_cancel_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_complete_cancel ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_secret_accepted_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_secret_accepted ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_secret_accepted_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_complete_secret_accepted ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_secret_rejected_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_secret_rejected ##### -->
+<para>
+
+</para>
+
+ proxy:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_call_secret_rejected_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_complete_secret_rejected ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_emit_response ##### -->
+<para>
+
+</para>
+
+ object:
+ arg_secret:
+ arg_dismissed:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_interface_info ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_authenticator_override_properties ##### -->
+<para>
+
+</para>
+
+ klass:
+ property_id_begin:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-object-manager-client.sgml b/docs/reference/libedataserver/tmpl/e-dbus-object-manager-client.sgml
new file mode 100644
index 0000000..ccdc5f4
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-object-manager-client.sgml
@@ -0,0 +1,116 @@
+<!-- ##### SECTION Title ##### -->
+EDBusObjectManagerClient
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusObjectManagerClient ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_new_sync ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_new ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_new_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_new_for_bus_sync ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_new_for_bus ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_new_for_bus_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_object_manager_client_get_proxy_type ##### -->
+<para>
+
+</para>
+
+ manager:
+ object_path:
+ interface_name:
+ user_data:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-object-proxy.sgml b/docs/reference/libedataserver/tmpl/e-dbus-object-proxy.sgml
new file mode 100644
index 0000000..f179022
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-object-proxy.sgml
@@ -0,0 +1,38 @@
+<!-- ##### SECTION Title ##### -->
+EDBusObjectProxy
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusObjectProxy ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_object_proxy_new ##### -->
+<para>
+
+</para>
+
+ connection:
+ object_path:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-object-skeleton.sgml b/docs/reference/libedataserver/tmpl/e-dbus-object-skeleton.sgml
new file mode 100644
index 0000000..c19ec7a
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-object-skeleton.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+EDBusObjectSkeleton
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusObjectSkeleton ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_object_skeleton_new ##### -->
+<para>
+
+</para>
+
+ object_path:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_object_skeleton_set_source ##### -->
+<para>
+
+</para>
+
+ object:
+ interface_:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-object.sgml b/docs/reference/libedataserver/tmpl/e-dbus-object.sgml
new file mode 100644
index 0000000..ed988c7
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-object.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+EDBusObject
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusObject ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### ARG EDBusObject:source ##### -->
+<para>
+
+</para>
+
+<!-- ##### FUNCTION e_dbus_object_get_source ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_object_peek_source ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-source-manager-proxy.sgml b/docs/reference/libedataserver/tmpl/e-dbus-source-manager-proxy.sgml
new file mode 100644
index 0000000..b3a15a6
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-source-manager-proxy.sgml
@@ -0,0 +1,104 @@
+<!-- ##### SECTION Title ##### -->
+EDBusSourceManagerProxy
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusSourceManagerProxy ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_proxy_new_sync ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_proxy_new ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_proxy_new_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_proxy_new_for_bus_sync ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_proxy_new_for_bus ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_proxy_new_for_bus_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-source-manager-skeleton.sgml b/docs/reference/libedataserver/tmpl/e-dbus-source-manager-skeleton.sgml
new file mode 100644
index 0000000..17c4958
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-source-manager-skeleton.sgml
@@ -0,0 +1,37 @@
+<!-- ##### SECTION Title ##### -->
+EDBusSourceManagerSkeleton
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusSourceManagerSkeleton ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_skeleton_new ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-source-manager.sgml b/docs/reference/libedataserver/tmpl/e-dbus-source-manager.sgml
new file mode 100644
index 0000000..b11a3a0
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-source-manager.sgml
@@ -0,0 +1,155 @@
+<!-- ##### SECTION Title ##### -->
+EDBusSourceManager
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusSourceManager ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SIGNAL EDBusSourceManager::handle-create-source ##### -->
+<para>
+
+</para>
+
+ edbussourcemanager: the object which received the signal.
+ arg1:
+ arg2:
+ Returns:
+
+<!-- ##### SIGNAL EDBusSourceManager::handle-remove-sources ##### -->
+<para>
+
+</para>
+
+ edbussourcemanager: the object which received the signal.
+ arg1:
+ arg2:
+ Returns:
+
+<!-- ##### FUNCTION e_dbus_source_manager_interface_info ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_override_properties ##### -->
+<para>
+
+</para>
+
+ klass:
+ property_id_begin:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_call_create_source_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ arg_data:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_call_create_source ##### -->
+<para>
+
+</para>
+
+ proxy:
+ arg_data:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_call_create_source_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_complete_create_source ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_call_remove_sources_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ arg_uids:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_call_remove_sources ##### -->
+<para>
+
+</para>
+
+ proxy:
+ arg_uids:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_call_remove_sources_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_manager_complete_remove_sources ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-source-proxy.sgml b/docs/reference/libedataserver/tmpl/e-dbus-source-proxy.sgml
new file mode 100644
index 0000000..6379e7f
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-source-proxy.sgml
@@ -0,0 +1,104 @@
+<!-- ##### SECTION Title ##### -->
+EDBusSourceProxy
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusSourceProxy ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_source_proxy_new_sync ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_proxy_new ##### -->
+<para>
+
+</para>
+
+ connection:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_proxy_new_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_proxy_new_for_bus_sync ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_proxy_new_for_bus ##### -->
+<para>
+
+</para>
+
+ bus_type:
+ flags:
+ name:
+ object_path:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_proxy_new_for_bus_finish ##### -->
+<para>
+
+</para>
+
+ res:
+ error:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-source-skeleton.sgml b/docs/reference/libedataserver/tmpl/e-dbus-source-skeleton.sgml
new file mode 100644
index 0000000..aae56ea
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-source-skeleton.sgml
@@ -0,0 +1,37 @@
+<!-- ##### SECTION Title ##### -->
+EDBusSourceSkeleton
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusSourceSkeleton ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION e_dbus_source_skeleton_new ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
+
diff --git a/docs/reference/libedataserver/tmpl/e-dbus-source.sgml b/docs/reference/libedataserver/tmpl/e-dbus-source.sgml
new file mode 100644
index 0000000..4c0ba16
--- /dev/null
+++ b/docs/reference/libedataserver/tmpl/e-dbus-source.sgml
@@ -0,0 +1,188 @@
+<!-- ##### SECTION Title ##### -->
+EDBusSource
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT EDBusSource ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SIGNAL EDBusSource::handle-submit-data ##### -->
+<para>
+
+</para>
+
+ edbussource: the object which received the signal.
+ arg1:
+ arg2:
+ Returns:
+
+<!-- ##### ARG EDBusSource:data ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG EDBusSource:uid ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG EDBusSource:writable ##### -->
+<para>
+
+</para>
+
+<!-- ##### FUNCTION e_dbus_source_get_uid ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_dup_uid ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_set_uid ##### -->
+<para>
+
+</para>
+
+ object:
+ value:
+
+
+<!-- ##### FUNCTION e_dbus_source_get_data ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_dup_data ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_set_data ##### -->
+<para>
+
+</para>
+
+ object:
+ value:
+
+
+<!-- ##### FUNCTION e_dbus_source_get_writable ##### -->
+<para>
+
+</para>
+
+ object:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_set_writable ##### -->
+<para>
+
+</para>
+
+ object:
+ value:
+
+
+<!-- ##### FUNCTION e_dbus_source_call_submit_data_sync ##### -->
+<para>
+
+</para>
+
+ proxy:
+ arg_data:
+ cancellable:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_call_submit_data ##### -->
+<para>
+
+</para>
+
+ proxy:
+ arg_data:
+ cancellable:
+ callback:
+ user_data:
+
+
+<!-- ##### FUNCTION e_dbus_source_call_submit_data_finish ##### -->
+<para>
+
+</para>
+
+ proxy:
+ res:
+ error:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_complete_submit_data ##### -->
+<para>
+
+</para>
+
+ object:
+ invocation:
+
+
+<!-- ##### FUNCTION e_dbus_source_interface_info ##### -->
+<para>
+
+</para>
+
+ void:
+ Returns:
+
+
+<!-- ##### FUNCTION e_dbus_source_override_properties ##### -->
+<para>
+
+</para>
+
+ klass:
+ property_id_begin:
+ Returns:
+
+
diff --git a/libedataserver/Makefile.am b/libedataserver/Makefile.am
index 688c6d5..dc46d4d 100644
--- a/libedataserver/Makefile.am
+++ b/libedataserver/Makefile.am
@@ -2,6 +2,35 @@
MARSHAL_GENERATED = e-gdbus-marshallers.c e-gdbus-marshallers.h
@EVO_MARSHAL_RULE@
+$(GENERATED_DBUS_SOURCE) : Makefile.am org.gnome.evolution.dataserver.Source.xml
+ $(AM_V_GEN) gdbus-codegen \
+ --interface-prefix org.gnome.evolution.dataserver. \
+ --c-namespace E_DBus \
+ --c-generate-object-manager \
+ --generate-c-code e-dbus-source \
+ org.gnome.evolution.dataserver.Source.xml
+
+$(GENERATED_DBUS_SOURCE_MANAGER) : Makefile.am org.gnome.evolution.dataserver.SourceManager.xml
+ $(AM_V_GEN) gdbus-codegen \
+ --interface-prefix org.gnome.evolution.dataserver. \
+ --c-namespace E_DBus \
+ --generate-c-code e-dbus-source-manager \
+ org.gnome.evolution.dataserver.SourceManager.xml
+
+GENERATED_DBUS_SOURCE = \
+ e-dbus-source.c \
+ e-dbus-source.h
+
+GENERATED_DBUS_SOURCE_MANAGER = \
+ e-dbus-source-manager.c \
+ e-dbus-source-manager.h
+
+BUILT_SOURCES = \
+ $(ENUM_GENERATED) \
+ $(MARSHAL_GENERATED) \
+ $(GENERATED_DBUS_SOURCE) \
+ $(GENERATED_DBUS_SOURCE_MANAGER)
+
lib_LTLIBRARIES = libedataserver-1.2.la
libedataserver_1_2_la_CPPFLAGS = \
@@ -15,10 +44,11 @@ libedataserver_1_2_la_CPPFLAGS = \
-DE_DATA_SERVER_UI_UIDIR=\""$(uidir)"\" \
-DDEFAULT_EDS_DBUS_TIMEOUT=$(DEFAULT_EDS_DBUS_TIMEOUT) \
$(E_DATA_SERVER_CFLAGS) \
+ $(GIO_UNIX_CFLAGS) \
$(SOUP_CFLAGS)
libedataserver_1_2_la_SOURCES = \
- $(MARSHAL_GENERATED) \
+ $(BUILT_SOURCES) \
e-categories.c \
e-client.c \
e-client-private.h \
@@ -46,6 +76,7 @@ libedataserver_1_2_la_SOURCES = \
libedataserver_1_2_la_LIBADD = \
$(E_DATA_SERVER_LIBS) \
+ $(GIO_UNIX_LIBS) \
$(ICONV_LIBS) \
$(SOCKET_LIBS) \
$(SOUP_LIBS) \
@@ -60,6 +91,8 @@ libedataserverinclude_HEADERS = \
e-categories.h \
e-client.h \
e-credentials.h \
+ e-dbus-source.h \
+ e-dbus-source-manager.h \
e-flag.h \
e-iterator.h \
e-list.h \
@@ -85,10 +118,11 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libedataserver-$(API_VERSION).pc
EXTRA_DIST = \
+ org.gnome.evolution.dataserver.Manager.xml \
$(pkgconfig_DATA:-$(API_VERSION).pc=.pc.in) \
- eds-version.h.in
+ eds-version.h.in \
+ e-marshal.list
-BUILT_SOURCES = $(MARSHAL_GENERATED)
CLEANFILES = $(BUILT_SOURCES)
DISTCLEANFILES = eds-version.h $(pkgconfig_DATA)
diff --git a/libedataserver/org.gnome.evolution.dataserver.Authenticator.xml b/libedataserver/org.gnome.evolution.dataserver.Authenticator.xml
new file mode 100644
index 0000000..6658380
--- /dev/null
+++ b/libedataserver/org.gnome.evolution.dataserver.Authenticator.xml
@@ -0,0 +1,76 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+
+<!--
+ org.gnome.evolution.dataserver.Authenticator:
+ @short_description: Authentication interface
+
+ Interface for an authentication session.
+-->
+<interface name="org.gnome.evolution.dataserver.Authenticator">
+ <!--
+ Ready:
+
+ Indicates the client is ready to receive Response signals.
+ If this method is not called within a short duration after
+ the object path for this interface is exported, the object
+ path will be unexported.
+ -->
+ <method name="Ready"/>
+
+ <!--
+ Cancel:
+
+ Indicates the client no longer wishes to authenticate.
+ Any active or pending authentication prompt will be cancelled,
+ and the object path for this interface will be unexported.
+
+ This method ends the authentication session.
+ -->
+ <method name="Cancel"/>
+
+ <!--
+ SecretRejected:
+
+ Indicates the secret included in the previous Response signal
+ was rejected. The client should continue listening for a new
+ Response signal.
+ -->
+ <method name="SecretRejected"/>
+
+ <!--
+ SecretAccepted:
+
+ Indicates the secret included in the previous Response signal
+ was accepted. The secret will be stored in the keyring at this
+ point, if the user wished it to be, and the object path for this
+ interface will be unexported.
+
+ This method ends the authentication session.
+ -->
+ <method name="SecretAccepted"/>
+
+ <!--
+ Response:
+
+ Emitted when the user has reponded to an authentication prompt.
+ The signal contents will include either the user-provided secret
+ or a dismissed flag. A dismissed flag means the user declined to
+ provide a secret. The dismissed flag remains set for the Source
+ object until the ResetAuthDismissal method is called.
+
+ If a secret was provided, the client must then respond by calling
+ SecretAccepted, SecretRejected or Cancel. If, during this time,
+ the user cancels the authentication prompt, another Response
+ signal will be emitted with a dismissed flag.
+
+ A dismissed flag ends the authentication session.
+ -->
+ <signal name="Response">
+ <arg name="secret" type="s"/>
+ <arg name="dismissed" type="b"/>
+ </signal>
+</interface>
+
diff --git a/libedataserver/org.gnome.evolution.dataserver.Source.xml b/libedataserver/org.gnome.evolution.dataserver.Source.xml
new file mode 100644
index 0000000..77dc7a0
--- /dev/null
+++ b/libedataserver/org.gnome.evolution.dataserver.Source.xml
@@ -0,0 +1,54 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+
+<!--
+ org.gnome.evolution.dataserver.Source:
+ @short_description: Data source
+
+ This interface is used to represent data sources.
+-->
+<interface name="org.gnome.evolution.dataserver.Source">
+ <!-- UID: The unique identifier for the source. -->
+ <property name="UID" type="s" access="read"/>
+ <!-- Data: Raw key file data describing the source. -->
+ <property name="Data" type="s" access="read"/>
+ <!-- Writable: Whether the source data is writable. -->
+ <property name="Writable" type="b" access="read"/>
+
+ <!--
+ SubmitData:
+ @data: Raw key file data describing the source.
+
+ Submits new key file data for the source, which is saved
+ to disk and then reflected in the Data property.
+
+ If the source is not writable, this method will fail.
+ -->
+ <method name="SubmitData">
+ <arg name="data" direction="in" type="s"/>
+ </method>
+
+ <!--
+ Authenticate:
+ @object_path: Object path of a new authentication session
+
+ Initiates a new authentication session at the returned object
+ path. The client should prepare to receive Response signals
+ from the Authenticator interface at that object path, then
+ call the interface's Ready method.
+ -->
+ <method name="Authenticate">
+ <arg name="object_path" direction="out" type="s"/>
+ </method>
+
+ <!--
+ ResetAuthDismissal:
+
+ If the user declines to provide a secret when prompted, further
+ authentication prompts are inhibited until this method is called.
+ -->
+ <method name="ResetAuthDismissal"/>
+</interface>
+
diff --git a/libedataserver/org.gnome.evolution.dataserver.SourceManager.xml b/libedataserver/org.gnome.evolution.dataserver.SourceManager.xml
new file mode 100644
index 0000000..5ce3b31
--- /dev/null
+++ b/libedataserver/org.gnome.evolution.dataserver.SourceManager.xml
@@ -0,0 +1,36 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+
+<!--
+ org.gnome.evolution.dataserver.SourceManager:
+ @short_description: SourceManager interface
+
+ Interface for top-level manager singleton objects.
+-->
+<interface name="org.gnome.evolution.dataserver.SourceManager">
+ <!--
+ CreateSource:
+ @data: Raw key file data describing the new source.
+
+ Creates a new data source from @data and adds it to the list of
+ managed objects with a newly-generated unique identifier (UID).
+
+ Data sources created in this manner are always writable.
+ -->
+ <method name="CreateSource">
+ <arg name="data" direction="in" type="s"/>
+ </method>
+
+ <!--
+ RemoveSources:
+ @uids: A list of unique identifiers (UIDs)
+
+ Removes the data sources with the given @uids.
+ -->
+ <method name="RemoveSources">
+ <arg name="uids" direction="in" type="as"/>
+ </method>
+</interface>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]