[glib/gdbus-merge] Add a note about implemented standard interfaces



commit cce08f197313bad1516924b3eb7305e7e6818971
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 12 21:51:06 2010 -0400

    Add a note about implemented standard interfaces

 gio/gdbusconnection.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index aa5ad05..3c26090 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -3923,6 +3923,13 @@ obj_message_func (GDBusConnection *connection,
  * If an existing callback is already registered at @object_path and
  * @interface_name, then @error is set to #G_IO_ERROR_EXISTS.
  *
+ * GDBus automatically implements the standard D-Bus interfaces
+ * org.freedesktop.DBus.Properties, org.freedesktop.DBus.Introspectable
+ * and org.freedesktop.Peer, so you don't have to implement those for
+ * the objects you export. You <emphasis>can</emphasis> implement
+ * org.freedesktop.DBus.Properties yourself, e.g. to handle getting
+ * and setting of properties asynchronously.
+ *
  * See <xref linkend="gdbus-server"/> for an example of how to use this method.
  *
  * Returns: 0 if @error is set, otherwise a registration id (never 0)



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