[evolution-data-server/account-mgmt: 6/38] Generate GDBus classes for a new D-Bus service.



commit f8d44a2ff11ca6e44c8d90ce6c230ff7aec782e9
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        |   37 ++
 .../libedataserver/libedataserver-sections.txt     |  424 +++++++++++++++++++-
 docs/reference/libedataserver/libedataserver.types |   23 +
 libedataserver/Makefile.am                         |   37 ++-
 ...rg.gnome.evolution.dataserver.Authenticator.xml |   92 +++++
 .../org.gnome.evolution.dataserver.Source.xml      |   59 +++
 ...rg.gnome.evolution.dataserver.SourceManager.xml |   54 +++
 7 files changed, 721 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/libedataserver/libedataserver-docs.sgml b/docs/reference/libedataserver/libedataserver-docs.sgml
index ccc82a5..582bd22 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"/>
@@ -48,6 +62,29 @@
     <xi:include href="xml/eds-version.xml"/>
   </chapter>
 
+  <chapter>
+    <title>Generated D-Bus Objects</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-removable.xml"/>
+    <xi:include href="xml/e-dbus-source-removable-proxy.xml"/>
+    <xi:include href="xml/e-dbus-source-removable-skeleton.xml"/>
+    <xi:include href="xml/e-dbus-source-writable.xml"/>
+    <xi:include href="xml/e-dbus-source-writable-proxy.xml"/>
+    <xi:include href="xml/e-dbus-source-writable-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"/>
+    <xi:include href="xml/e-dbus-authenticator.xml"/>
+    <xi:include href="xml/e-dbus-authenticator-proxy.xml"/>
+    <xi:include href="xml/e-dbus-authenticator-skeleton.xml"/>
+  </chapter>
+
   <index id="api-index-full">
     <title>Index</title>
     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
diff --git a/docs/reference/libedataserver/libedataserver-sections.txt b/docs/reference/libedataserver/libedataserver-sections.txt
index f891365..3dafd77 100644
--- a/docs/reference/libedataserver/libedataserver-sections.txt
+++ b/docs/reference/libedataserver/libedataserver-sections.txt
@@ -114,10 +114,428 @@ e_credentials_list_keys
 e_credentials_clear
 e_credentials_clear_peek
 e_credentials_util_safe_free_string
-e_credentials_util_prompt_flags_to_string
-e_credentials_util_string_to_prompt_flags
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-authenticator</FILE>
+<TITLE>EDBusAuthenticator</TITLE>
+EDBusAuthenticator
+e_dbus_authenticator_call_ready_sync
+e_dbus_authenticator_call_ready
+e_dbus_authenticator_call_ready_finish
+e_dbus_authenticator_complete_ready
+e_dbus_authenticator_call_cancel_sync
+e_dbus_authenticator_call_cancel
+e_dbus_authenticator_call_cancel_finish
+e_dbus_authenticator_complete_cancel
+e_dbus_authenticator_call_accepted_sync
+e_dbus_authenticator_call_accepted
+e_dbus_authenticator_call_accepted_finish
+e_dbus_authenticator_complete_accepted
+e_dbus_authenticator_call_rejected_sync
+e_dbus_authenticator_call_rejected
+e_dbus_authenticator_call_rejected_finish
+e_dbus_authenticator_complete_rejected
+e_dbus_authenticator_emit_authenticate
+e_dbus_authenticator_emit_dismissed
+e_dbus_authenticator_interface_info
+e_dbus_authenticator_override_properties
+<SUBSECTION Standard>
+E_DBUS_AUTHENTICATOR
+E_DBUS_IS_AUTHENTICATOR
+E_DBUS_TYPE_AUTHENTICATOR
+E_DBUS_AUTHENTICATOR_GET_IFACE
+EDBusAuthenticatorIface
+<SUBSECTION Private>
+e_dbus_authenticator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-authenticator-proxy</FILE>
+<TITLE>EDBusAuthenticatorProxy</TITLE>
+EDBusAuthenticatorProxy
+e_dbus_authenticator_proxy_new_sync
+e_dbus_authenticator_proxy_new
+e_dbus_authenticator_proxy_new_finish
+e_dbus_authenticator_proxy_new_for_bus_sync
+e_dbus_authenticator_proxy_new_for_bus
+e_dbus_authenticator_proxy_new_for_bus_finish
+<SUBSECTION Standard>
+E_DBUS_AUTHENTICATOR_PROXY
+E_DBUS_IS_AUTHENTICATOR_PROXY
+E_DBUS_TYPE_AUTHENTICATOR_PROXY
+E_DBUS_AUTHENTICATOR_PROXY_CLASS
+E_DBUS_IS_AUTHENTICATOR_PROXY_CLASS
+E_DBUS_AUTHENTICATOR_PROXY_GET_CLASS
+EDBusAuthenticatorProxyClass
+<SUBSECTION Private>
+EDBusAuthenticatorProxyPrivate
+e_dbus_authenticator_proxy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-authenticator-skeleton</FILE>
+<TITLE>EDBusAuthenticatorSkeleton</TITLE>
+EDBusAuthenticatorSkeleton
+e_dbus_authenticator_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_AUTHENTICATOR_SKELETON
+E_DBUS_IS_AUTHENTICATOR_SKELETON
+E_DBUS_TYPE_AUTHENTICATOR_SKELETON
+E_DBUS_AUTHENTICATOR_SKELETON_CLASS
+E_DBUS_IS_AUTHENTICATOR_SKELETON_CLASS
+E_DBUS_AUTHENTICATOR_SKELETON_GET_CLASS
+EDBusAuthenticatorSkeletonClass
+<SUBSECTION Private>
+EDBusAuthenticatorSkeletonPrivate
+e_dbus_authenticator_skeleton_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-object</FILE>
+<TITLE>EDBusObject</TITLE>
+EDBusObject
+e_dbus_object_get_source
+e_dbus_object_peek_source
+e_dbus_object_get_source_removable
+e_dbus_object_peek_source_removable
+e_dbus_object_get_source_writable
+e_dbus_object_peek_source_writable
+<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
+e_dbus_object_skeleton_set_source_writable
+e_dbus_object_skeleton_set_source_removable
+<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_call_authenticate_sync
+e_dbus_source_call_authenticate
+e_dbus_source_call_authenticate_finish
+e_dbus_source_complete_authenticate
+e_dbus_source_call_allow_auth_prompt_sync
+e_dbus_source_call_allow_auth_prompt
+e_dbus_source_call_allow_auth_prompt_finish
+e_dbus_source_complete_allow_auth_prompt
+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_interface_info
+e_dbus_source_manager_override_properties
+<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-dbus-source-removable</FILE>
+<TITLE>EDBusSourceRemovable</TITLE>
+EDBusSourceRemovable
+e_dbus_source_removable_call_remove_sync
+e_dbus_source_removable_call_remove
+e_dbus_source_removable_call_remove_finish
+e_dbus_source_removable_complete_remove
+e_dbus_source_removable_interface_info
+e_dbus_source_removable_override_properties
+<SUBSECTION Standard>
+E_DBUS_SOURCE_REMOVABLE
+E_DBUS_IS_SOURCE_REMOVABLE
+E_DBUS_TYPE_SOURCE_REMOVABLE
+E_DBUS_SOURCE_REMOVABLE_GET_IFACE
+EDBusSourceRemovableIface
+<SUBSECTION Private>
+e_dbus_source_removable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-removable-proxy</FILE>
+<TITLE>EDBusSourceRemovableProxy</TITLE>
+EDBusSourceRemovableProxy
+e_dbus_source_removable_proxy_new
+e_dbus_source_removable_proxy_new_finish
+e_dbus_source_removable_proxy_new_for_bus
+e_dbus_source_removable_proxy_new_for_bus_finish
+e_dbus_source_removable_proxy_new_for_bus_sync
+e_dbus_source_removable_proxy_new_sync
+<SUBSECTION Standard>
+E_DBUS_SOURCE_REMOVABLE_PROXY
+E_DBUS_IS_SOURCE_REMOVABLE_PROXY
+E_DBUS_TYPE_SOURCE_REMOVABLE_PROXY
+E_DBUS_SOURCE_REMOVABLE_PROXY_CLASS
+E_DBUS_IS_SOURCE_REMOVABLE_PROXY_CLASS
+E_DBUS_SOURCE_REMOVABLE_PROXY_GET_CLASS
+EDBusSourceRemovableProxyClass
+<SUBSECTION Private>
+EDBusSourceRemovableProxyPrivate
+e_dbus_source_removable_proxy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-removable-skeleton</FILE>
+<TITLE>EDBusSourceRemovableSkeleton</TITLE>
+EDBusSourceRemovableSkeleton
+e_dbus_source_removable_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_SOURCE_REMOVABLE_SKELETON
+E_DBUS_IS_SOURCE_REMOVABLE_SKELETON
+E_DBUS_TYPE_SOURCE_REMOVABLE_SKELETON
+E_DBUS_SOURCE_REMOVABLE_SKELETON_CLASS
+E_DBUS_IS_SOURCE_REMOVABLE_SKELETON_CLASS
+E_DBUS_SOURCE_REMOVABLE_SKELETON_GET_CLASS
+EDBusSourceRemovableSkeletonClass
+<SUBSECTION Private>
+EDBusSourceRemovableSkeletonPrivate
+e_dbus_source_removable_skeleton_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-writable</FILE>
+<TITLE>EDBusSourceWritable</TITLE>
+EDBusSourceWritable
+e_dbus_source_writable_call_write_sync
+e_dbus_source_writable_call_write
+e_dbus_source_writable_call_write_finish
+e_dbus_source_writable_complete_write
+e_dbus_source_writable_interface_info
+e_dbus_source_writable_override_properties
+<SUBSECTION Standard>
+E_DBUS_SOURCE_WRITABLE
+E_DBUS_IS_SOURCE_WRITABLE
+E_DBUS_TYPE_SOURCE_WRITABLE
+E_DBUS_SOURCE_WRITABLE_GET_IFACE
+EDBusSourceWritableIface
+<SUBSECTION Private>
+e_dbus_source_writable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-writable-proxy</FILE>
+<TITLE>EDBusSourceWritableProxy</TITLE>
+EDBusSourceWritableProxy
+e_dbus_source_writable_proxy_new
+e_dbus_source_writable_proxy_new_finish
+e_dbus_source_writable_proxy_new_for_bus
+e_dbus_source_writable_proxy_new_for_bus_finish
+e_dbus_source_writable_proxy_new_for_bus_sync
+e_dbus_source_writable_proxy_new_sync
+<SUBSECTION Standard>
+E_DBUS_SOURCE_WRITABLE_PROXY
+E_DBUS_IS_SOURCE_WRITABLE_PROXY
+E_DBUS_TYPE_SOURCE_WRITABLE_PROXY
+E_DBUS_SOURCE_WRITABLE_PROXY_CLASS
+E_DBUS_IS_SOURCE_WRITABLE_PROXY_CLASS
+E_DBUS_SOURCE_WRITABLE_PROXY_GET_CLASS
+EDBusSourceWritableProxyClass
+<SUBSECTION Private>
+EDBusSourceWritableProxyPrivate
+e_dbus_source_writable_proxy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>e-dbus-source-writable-skeleton</FILE>
+<TITLE>EDBusSourceWritableSkeleton</TITLE>
+EDBusSourceWritableSkeleton
+e_dbus_source_writable_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_SOURCE_WRITABLE_SKELETON
+E_DBUS_IS_SOURCE_WRITABLE_SKELETON
+E_DBUS_TYPE_SOURCE_WRITABLE_SKELETON
+E_DBUS_SOURCE_WRITABLE_SKELETON_CLASS
+E_DBUS_IS_SOURCE_WRITABLE_SKELETON_CLASS
+E_DBUS_SOURCE_WRITABLE_SKELETON_GET_CLASS
+EDBusSourceWritableSkeletonClass
 <SUBSECTION Private>
-ECredentialsPrivate
+EDBusSourceWritableSkeletonPrivate
+e_dbus_source_writable_skeleton_get_type
 </SECTION>
 
 <SECTION>
diff --git a/docs/reference/libedataserver/libedataserver.types b/docs/reference/libedataserver/libedataserver.types
index 4c2a0cf..6751034 100644
--- a/docs/reference/libedataserver/libedataserver.types
+++ b/docs/reference/libedataserver/libedataserver.types
@@ -5,9 +5,32 @@
 #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
+e_dbus_source_removable_get_type
+e_dbus_source_removable_proxy_get_type
+e_dbus_source_removable_skeleton_get_type
+e_dbus_source_writable_get_type
+e_dbus_source_writable_proxy_get_type
+e_dbus_source_writable_skeleton_get_type
+e_dbus_authenticator_get_type
+e_dbus_authenticator_proxy_get_type
+e_dbus_authenticator_skeleton_get_type
diff --git a/libedataserver/Makefile.am b/libedataserver/Makefile.am
index ac47b8a..69040e3 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,12 +44,13 @@ 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)							\
 	$(CODE_COVERAGE_CFLAGS)						\
 	$(NULL)
 
 libedataserver_1_2_la_SOURCES =		\
-	$(MARSHAL_GENERATED)		\
+	$(BUILT_SOURCES)		\
 	e-categories.c			\
 	e-client.c			\
 	e-client-private.h		\
@@ -47,6 +77,7 @@ libedataserver_1_2_la_SOURCES =		\
 
 libedataserver_1_2_la_LIBADD =				\
 	$(E_DATA_SERVER_LIBS)				\
+	$(GIO_UNIX_LIBS)				\
 	$(ICONV_LIBS)					\
 	$(SOCKET_LIBS)					\
 	$(SOUP_LIBS)					\
@@ -63,6 +94,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-gdbus-marshallers.h		\
 	e-gdbus-templates.h		\
@@ -100,12 +133,12 @@ convertdir = $(datadir)/GConf/gsettings
 convert_DATA = libedataserver.convert
 
 EXTRA_DIST = 						\
+	org.gnome.evolution.dataserver.Manager.xml	\
 	$(pkgconfig_DATA:-$(API_VERSION).pc=.pc.in)	\
 	eds-version.h.in				\
 	$(convert_DATA)					\
 	$(gsettings_SCHEMAS:.xml=.xml.in)
 
-BUILT_SOURCES = $(MARSHAL_GENERATED)
 CLEANFILES = $(BUILT_SOURCES) $(gsettings_SCHEMAS:.xml=.valid)
 
 DISTCLEANFILES = eds-version.h				\
diff --git a/libedataserver/org.gnome.evolution.dataserver.Authenticator.xml b/libedataserver/org.gnome.evolution.dataserver.Authenticator.xml
new file mode 100644
index 0000000..195e73a
--- /dev/null
+++ b/libedataserver/org.gnome.evolution.dataserver.Authenticator.xml
@@ -0,0 +1,92 @@
+<!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:
+      @encryption_key: Implementation defined encryption key
+
+      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">
+    <arg name="encryption_key" direction="in" type="s"/>
+  </method>
+
+  <!--
+      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.
+
+      The object path for this interface will be unexported.
+
+      This method ends the authentication session.
+  -->
+  <method name="Cancel"/>
+
+  <!--
+      Accepted:
+
+      Indicates the most-recently-passed secret was accepted.  If the
+      user wishes, the secret can be copied to a keyring for permanent
+      storage at this point.
+
+      The object path for this interface will be unexported.
+
+      This method ends the authentication session.
+  -->
+  <method name="Accepted"/>
+
+  <!--
+      Rejected:
+
+      Indicates the most-recently-passed secret was rejected.  The
+      client should continue listening for a new Authenticate signal.
+  -->
+  <method name="Rejected"/>
+
+  <!--
+      Authenticate:
+      @encrypted_secret: Encrypted secret string
+
+      Emitted when the user has responded to an authentication prompt.
+
+      The client should attempt to authenticate using the provided
+      secret and then respond by calling either Accepted, Rejected
+      or Cancel.  The Authenticate signal will not be emitted again
+      until the client has responded.
+
+      If at any time the user cancels the authentication prompt, the
+      Dismissed signal is emitted immediately.
+  -->
+  <signal name="Authenticate">
+    <arg name="encrypted_secret" type="s"/>
+  </signal>
+
+  <!--
+      Dismissed:
+
+      Emitted when the user has declined to provide a secret.
+
+      Any further attempts to authenticate the Source will emit a
+      Dismissed signal without interrupting the user.  This state
+      persists until the ResetAuthDismissal method is called.
+
+      This signal ends the authentication session.
+  -->
+  <signal name="Dismissed"/>
+
+</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..8eeff50
--- /dev/null
+++ b/libedataserver/org.gnome.evolution.dataserver.Source.xml
@@ -0,0 +1,59 @@
+<!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"/>
+
+  <!--
+      AllowAuthPrompt:
+
+      If the user declines to provide a secret when prompted, further
+      authentication prompts are inhibited until this method is called.
+  -->
+  <method name="AllowAuthPrompt"/>
+</interface>
+
+<!--
+    org.gnome.evolution.dataserver.Source.Removable:
+    @short_description: Removable data source
+
+    This interface is used to represent removable data sources.
+-->
+<interface name="org.gnome.evolution.dataserver.Source.Removable">
+  <!--
+      Remove:
+
+      Permanently removes the data source.
+  -->
+  <method name="Remove"/>
+</interface>
+
+<!--
+    org.gnome.evolution.dataserver.Source.Writable:
+    @short_description: Writable data source
+
+    This interface is used to represent writable data sources.
+-->
+<interface name="org.gnome.evolution.dataserver.Source.Writable">
+  <!--
+      Write:
+      @data: Raw key file data describing the source.
+
+      Submits new key file data for the source, which is written
+      to disk and then reflected in the Data property.
+  -->
+  <method name="Write">
+    <arg name="data" direction="in" type="s"/>
+  </method>
+</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..f734746
--- /dev/null
+++ b/libedataserver/org.gnome.evolution.dataserver.SourceManager.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.SourceManager:
+    @short_description: SourceManager interface
+
+    Interface for top-level manager singleton objects.
+-->
+<interface name="org.gnome.evolution.dataserver.SourceManager">
+  <!--
+      Authenticate:
+      @uid: Unique identifier for the authenticating source
+      @icon: Textual representation of a GIcon
+      @primary_markup: Primary label in Pango's markup language
+      @secondary_markup: Secondary label in Pango's markup language
+      @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.
+
+      The @icon, @primary_markup and @secondary_markup arguments
+      are used to construct an authentication prompt if necessary.
+  -->
+  <method name="Authenticate">
+    <arg name="uid" direction="in" type="s"/>
+    <arg name="icon" direction="in" type="s"/>
+    <arg name="primary_markup" direction="in" type="s"/>
+    <arg name="secondary_markup" direction="in" type="s"/>
+    <arg name="object_path" direction="out" type="s"/>
+  </method>
+
+  <!--
+      CreateSource:
+      @uid: Unique identifier for the new source
+      @data: Raw key file data describing the new source
+      @object_path: Object path of the newly-created source
+
+      Creates a new data source from @uid and @data and adds it to the
+      list of managed objects.
+
+      Data sources created in this manner are always writable.
+  -->
+  <method name="CreateSource">
+    <arg name="uid" direction="in" type="s"/>
+    <arg name="data" direction="in" type="s"/>
+    <arg name="object_path" direction="out" type="s"/>
+  </method>
+</interface>
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]