Generate D-Bus factory interfaces with gdbus-codegen.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 24 Jan 2013 18:05:37 +0000 (13:05 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 24 Jan 2013 18:48:52 +0000 (13:48 -0500)
docs/reference/private/libedbus-private-docs.sgml
docs/reference/private/libedbus-private-sections.txt
docs/reference/private/libedbus-private.types
private/Makefile.am
private/org.gnome.evolution.dataserver.AddressBookFactory.xml [new file with mode: 0644]
private/org.gnome.evolution.dataserver.CalendarFactory.xml [new file with mode: 0644]

index a08b865..e628863 100644 (file)
@@ -20,6 +20,8 @@
     <xi:include href="xml/e-dbus-source-manager.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-address-book-factory.xml"/>
+    <xi:include href="xml/e-dbus-calendar-factory.xml"/>
     <xi:include href="xml/e-dbus-user-prompter.xml"/>
   </chapter>
 
@@ -33,6 +35,8 @@
     <xi:include href="../../../private/e-dbus-source-org.gnome.evolution.dataserver.Source.OAuth2Support.xml"/>
     <xi:include href="../../../private/e-dbus-source-manager-org.gnome.evolution.dataserver.SourceManager.xml"/>
     <xi:include href="../../../private/e-dbus-authenticator-org.gnome.evolution.dataserver.Authenticator.xml"/>
+    <xi:include href="../../../private/e-dbus-address-book-factory-org.gnome.evolution.dataserver.AddressBookFactory.xml"/>
+    <xi:include href="../../../private/e-dbus-calendar-factory-org.gnome.evolution.dataserver.CalendarFactory.xml"/>
     <xi:include href="../../../private/e-dbus-user-prompter-org.gnome.evolution.dataserver.UserPrompter.xml"/>
   </chapter>
 
index fdae9fd..b8fd1da 100644 (file)
@@ -1,4 +1,53 @@
 <SECTION>
+<FILE>e-dbus-address-book-factory</FILE>
+<TITLE>EDBusAddressBookFactory</TITLE>
+EDBusAddressBookFactory
+e_dbus_address_book_factory_call_open_address_book_sync
+e_dbus_address_book_factory_call_open_address_book
+e_dbus_address_book_factory_call_open_address_book_finish
+e_dbus_address_book_factory_complete_open_address_book
+e_dbus_address_book_factory_interface_info
+e_dbus_address_book_factory_override_properties
+<SUBSECTION Proxy>
+EDBusAddressBookFactoryProxy
+e_dbus_address_book_factory_proxy_new_sync
+e_dbus_address_book_factory_proxy_new
+e_dbus_address_book_factory_proxy_new_finish
+e_dbus_address_book_factory_proxy_new_for_bus_sync
+e_dbus_address_book_factory_proxy_new_for_bus
+e_dbus_address_book_factory_proxy_new_for_bus_finish
+<SUBSECTION Skeleton>
+EDBusAddressBookFactorySkeleton
+e_dbus_address_book_factory_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_ADDRESS_BOOK_FACTORY
+E_DBUS_IS_ADDRESS_BOOK_FACTORY
+E_DBUS_TYPE_ADDRESS_BOOK_FACTORY
+E_DBUS_ADDRESS_BOOK_FACTORY_GET_IFACE
+E_DBUS_ADDRESS_BOOK_FACTORY_PROXY
+E_DBUS_IS_ADDRESS_BOOK_FACTORY_PROXY
+E_DBUS_TYPE_ADDRESS_BOOK_FACTORY_PROXY
+E_DBUS_ADDRESS_BOOK_FACTORY_PROXY_CLASS
+E_DBUS_IS_ADDRESS_BOOK_FACTORY_PROXY_CLASS
+E_DBUS_ADDRESS_BOOK_FACTORY_PROXY_GET_CLASS
+E_DBUS_ADDRESS_BOOK_FACTORY_SKELETON
+E_DBUS_IS_ADDRESS_BOOK_FACTORY_SKELETON
+E_DBUS_TYPE_ADDRESS_BOOK_FACTORY_SKELETON
+E_DBUS_ADDRESS_BOOK_FACTORY_SKELETON_CLASS
+E_DBUS_IS_ADDRESS_BOOK_FACTORY_SKELETON_CLASS
+E_DBUS_ADDRESS_BOOK_FACTORY_SKELETON_GET_CLASS
+EDBusAddressBookFactoryIface
+EDBusAddressBookFactoryProxyClass
+EDBusAddressBookFactorySkeletonClass
+e_dbus_address_book_factory_get_type
+e_dbus_address_book_factory_proxy_get_type
+e_dbus_address_book_factory_skeleton_get_type
+<SUBSECTION Private>
+EDBusAddressBookFactoryProxyPrivate
+EDBusAddressBookFactorySkeletonPrivate
+</SECTION>
+
+<SECTION>
 <FILE>e-dbus-authenticator</FILE>
 <TITLE>EDBusAuthenticator</TITLE>
 EDBusAuthenticator
@@ -62,6 +111,63 @@ EDBusAuthenticatorSkeletonPrivate
 </SECTION>
 
 <SECTION>
+<FILE>e-dbus-calendar-factory</FILE>
+<TITLE>EDBusCalendarFactory</TITLE>
+EDBusCalendarFactory
+e_dbus_calendar_factory_call_open_calendar_sync
+e_dbus_calendar_factory_call_open_calendar
+e_dbus_calendar_factory_call_open_calendar_finish
+e_dbus_calendar_factory_complete_open_calendar
+e_dbus_calendar_factory_call_open_task_list_sync
+e_dbus_calendar_factory_call_open_task_list
+e_dbus_calendar_factory_call_open_task_list_finish
+e_dbus_calendar_factory_complete_open_task_list
+e_dbus_calendar_factory_call_open_memo_list_sync
+e_dbus_calendar_factory_call_open_memo_list
+e_dbus_calendar_factory_call_open_memo_list_finish
+e_dbus_calendar_factory_complete_open_memo_list
+e_dbus_calendar_factory_interface_info
+e_dbus_calendar_factory_override_properties
+<SUBSECTION Proxy>
+EDBusCalendarFactoryProxy
+e_dbus_calendar_factory_proxy_new_sync
+e_dbus_calendar_factory_proxy_new
+e_dbus_calendar_factory_proxy_new_finish
+e_dbus_calendar_factory_proxy_new_for_bus_sync
+e_dbus_calendar_factory_proxy_new_for_bus
+e_dbus_calendar_factory_proxy_new_for_bus_finish
+<SUBSECTION Skeleton>
+EDBusCalendarFactorySkeleton
+e_dbus_calendar_factory_skeleton_new
+<SUBSECTION Standard>
+E_DBUS_CALENDAR_FACTORY
+E_DBUS_IS_CALENDAR_FACTORY
+E_DBUS_TYPE_CALENDAR_FACTORY
+E_DBUS_CALENDAR_FACTORY_GET_IFACE
+E_DBUS_CALENDAR_FACTORY_PROXY
+E_DBUS_IS_CALENDAR_FACTORY_PROXY
+E_DBUS_TYPE_CALENDAR_FACTORY_PROXY
+E_DBUS_CALENDAR_FACTORY_PROXY_CLASS
+E_DBUS_IS_CALENDAR_FACTORY_PROXY_CLASS
+E_DBUS_CALENDAR_FACTORY_PROXY_GET_CLASS
+E_DBUS_CALENDAR_FACTORY_SKELETON
+E_DBUS_IS_CALENDAR_FACTORY_SKELETON
+E_DBUS_TYPE_CALENDAR_FACTORY_SKELETON
+E_DBUS_CALENDAR_FACTORY_SKELETON_CLASS
+E_DBUS_IS_CALENDAR_FACTORY_SKELETON_CLASS
+E_DBUS_CALENDAR_FACTORY_SKELETON_GET_CLASS
+EDBusCalendarFactoryIface
+EDBusCalendarFactoryProxyClass
+EDBusCalendarFactorySkeletonClass
+e_dbus_calendar_factory_get_type
+e_dbus_calendar_factory_proxy_get_type
+e_dbus_calendar_factory_skeleton_get_type
+<SUBSECTION Private>
+EDBusCalendarFactoryProxyPrivate
+EDBusCalendarFactorySkeletonPrivate
+</SECTION>
+
+<SECTION>
 <FILE>e-dbus-object</FILE>
 <TITLE>EDBusObject</TITLE>
 EDBusObject
index 5d69a16..d950f0b 100644 (file)
@@ -1,6 +1,8 @@
 #include <private/e-dbus-source.h>
 #include <private/e-dbus-source-manager.h>
 #include <private/e-dbus-authenticator.h>
+#include <private/e-dbus-address-book-factory.h>
+#include <private/e-dbus-calendar-factory.h>
 #include <private/e-dbus-user-prompter.h>
 
 e_dbus_object_get_type
@@ -31,6 +33,12 @@ e_dbus_source_oauth2_support_skeleton_get_type
 e_dbus_authenticator_get_type
 e_dbus_authenticator_proxy_get_type
 e_dbus_authenticator_skeleton_get_type
+e_dbus_address_book_factory_get_type
+e_dbus_address_book_factory_proxy_get_type
+e_dbus_address_book_factory_skeleton_get_type
+e_dbus_calendar_factory_get_type
+e_dbus_calendar_factory_proxy_get_type
+e_dbus_calendar_factory_skeleton_get_type
 e_dbus_user_prompter_get_type
 e_dbus_user_prompter_proxy_get_type
 e_dbus_user_prompter_skeleton_get_type
index a753ca1..30d0e65 100644 (file)
@@ -28,6 +28,24 @@ $(GENERATED_DBUS_AUTHENTICATOR) : Makefile.am org.gnome.evolution.dataserver.Aut
        $(top_srcdir)/private/org.gnome.evolution.dataserver.Authenticator.xml \
        $(NULL)
 
+$(GENERATED_DBUS_ADDRESS_BOOK_FACTORY) : Makefile.am org.gnome.evolution.dataserver.AddressBookFactory.xml
+       $(AM_V_GEN) gdbus-codegen \
+       --interface-prefix org.gnome.evolution.dataserver \
+       --c-namespace E_DBus \
+       --generate-c-code e-dbus-address-book-factory \
+       --generate-docbook e-dbus-address-book-factory \
+       $(top_srcdir)/private/org.gnome.evolution.dataserver.AddressBookFactory.xml \
+       $(NULL)
+
+$(GENERATED_DBUS_CALENDAR_FACTORY) : Makefile.am org.gnome.evolution.dataserver.CalendarFactory.xml
+       $(AM_V_GEN) gdbus-codegen \
+       --interface-prefix org.gnome.evolution.dataserver \
+       --c-namespace E_DBus \
+       --generate-c-code e-dbus-calendar-factory \
+       --generate-docbook e-dbus-calendar-factory \
+       $(top_srcdir)/private/org.gnome.evolution.dataserver.CalendarFactory.xml \
+       $(NULL)
+
 $(GENERATED_DBUS_USER_PROMPTER) : Makefile.am org.gnome.evolution.dataserver.UserPrompter.xml
        $(AM_V_GEN) gdbus-codegen \
        --interface-prefix org.gnome.evolution.dataserver. \
@@ -66,10 +84,24 @@ GENERATED_DBUS_USER_PROMPTER = \
        e-dbus-user-prompter-org.gnome.evolution.dataserver.UserPrompter.xml \
        $(NULL)
 
+GENERATED_DBUS_ADDRESS_BOOK_FACTORY = \
+       e-dbus-address-book-factory.c \
+       e-dbus-address-book-factory.h \
+       e-dbus-address-book-factory-org.gnome.evolution.dataserver.AddressBookFactory.xml \
+       $(NULL)
+
+GENERATED_DBUS_CALENDAR_FACTORY = \
+       e-dbus-calendar-factory.c \
+       e-dbus-calendar-factory.h \
+       e-dbus-calendar-factory-org.gnome.evolution.dataserver.CalendarFactory.xml \
+       $(NULL)
+
 BUILT_SOURCES = \
        $(GENERATED_DBUS_SOURCE) \
        $(GENERATED_DBUS_SOURCE_MANAGER) \
        $(GENERATED_DBUS_AUTHENTICATOR) \
+       $(GENERATED_DBUS_ADDRESS_BOOK_FACTORY) \
+       $(GENERATED_DBUS_CALENDAR_FACTORY) \
        $(GENERATED_DBUS_USER_PROMPTER) \
        $(NULL)
 
@@ -102,6 +134,8 @@ EXTRA_DIST = \
        org.gnome.evolution.dataserver.Source.xml \
        org.gnome.evolution.dataserver.SourceManager.xml \
        org.gnome.evolution.dataserver.Authenticator.xml \
+       org.gnome.evolution.dataserver.AddressBookFactory.xml \
+       org.gnome.evolution.dataserver.CalendarFactory.xml \
        org.gnome.evolution.dataserver.UserPrompter.xml \
        $(NULL)
 
diff --git a/private/org.gnome.evolution.dataserver.AddressBookFactory.xml b/private/org.gnome.evolution.dataserver.AddressBookFactory.xml
new file mode 100644 (file)
index 0000000..46a7f53
--- /dev/null
@@ -0,0 +1,27 @@
+<!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.AddressBookFactory:
+    @short_description: Factory for address book objects
+    @since: 3.8
+
+    This interface provides access to AddressBook interfaces.
+-->
+<interface name="org.gnome.evolution.dataserver.AddressBookFactory">
+  <!--
+      OpenAddressBook:
+      @source_uid: Unique identifier for a data source
+      @object_path: Object path of the address book backend
+      @since: 3.8
+
+      Returns the object path of the address book backend for @uid.
+  -->
+  <method name="OpenAddressBook">
+    <arg name="source_uid" direction="in" type="s"/>
+    <arg name="object_path" direction="out" type="s"/>
+  </method>
+</interface>
+
diff --git a/private/org.gnome.evolution.dataserver.CalendarFactory.xml b/private/org.gnome.evolution.dataserver.CalendarFactory.xml
new file mode 100644 (file)
index 0000000..d64ded4
--- /dev/null
@@ -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.CalendarFactory:
+    @short_description: Factory for calendar objects
+    @since: 3.8
+
+    This interface provides access to Calendar interfaces.
+-->
+<interface name="org.gnome.evolution.dataserver.CalendarFactory">
+  <!--
+      OpenCalendar:
+      @source_uid: Unique identifier for a data source
+      @object_path: Object path of the calendar backend
+      @since: 3.8
+
+      Returns the object path of the calendar backend for @uid.
+  -->
+  <method name="OpenCalendar">
+    <arg name="source_uid" direction="in" type="s"/>
+    <arg name="object_path" direction="out" type="s"/>
+  </method>
+
+  <!--
+      OpenTaskList:
+      @source_uid: Unique identifier for a data source
+      @object_path: Object path of the task list backend
+      @since: 3.8
+
+      Returns the object path of the task list backend for @uid.
+
+  -->
+  <method name="OpenTaskList">
+    <arg name="source_uid" direction="in" type="s"/>
+    <arg name="object_path" direction="out" type="s"/>
+  </method>
+
+  <!--
+      OpenMemoList:
+      @source_uid: Unique identifier for a data source
+      @object_path: Object path of the memo list backend
+      @since: 3.8
+
+      Returns the object path of the memo list backend for @uid.
+  -->
+  <method name="OpenMemoList">
+    <arg name="source_uid" direction="in" type="s"/>
+    <arg name="object_path" direction="out" type="s"/>
+  </method>
+</interface>
+