[glibmm] DBusServer: Add overview documentation.



commit 008e18afb7ada12c1a914aea5036360e52a21fd0
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Apr 5 15:58:44 2011 +0200

    DBusServer: Add overview documentation.
    
    * gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer
    in bug #646425.

 ChangeLog             |    7 +++++++
 gio/src/dbusserver.hg |    8 ++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index eb60327..0abea31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-05  Murray Cumming  <murrayc murrayc com>
+
+	DBusServer: Add overview documentation.
+
+	* gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer
+	in bug #646425.
+
 2011-04-04  Murray Cumming  <murrayc murrayc com>
 
 	ThemedIcon: Remove a property as suggested by a TODO.
diff --git a/gio/src/dbusserver.hg b/gio/src/dbusserver.hg
index 540f1a2..03e5a96 100644
--- a/gio/src/dbusserver.hg
+++ b/gio/src/dbusserver.hg
@@ -40,6 +40,14 @@ _GMMPROC_EXTRA_NAMESPACE(DBus)
  * Since Server derives from Initiable, its constructors can
  * throw an exception if construction fails.
  *
+ * This can be used to create a new D-Bus server, allowing two
+ * peers to use the D-Bus protocol for their own specialized communication.
+ * A server instance provided in this way will not perform message routing or
+ * implement the org.freedesktop.DBus interface.
+ *
+ * To just export an object on a well-known name on a message bus, such as the
+ * session or system bus, you should instead use Gio::DBus::own_name().
+ *
  * @newin{2,28}
  * @ingroup DBus
  */



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