diff options
Diffstat (limited to 'gio/src/dbusauthobserver.hg')
-rw-r--r-- | gio/src/dbusauthobserver.hg | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gio/src/dbusauthobserver.hg b/gio/src/dbusauthobserver.hg index 52dba4c4..7723e4de 100644 --- a/gio/src/dbusauthobserver.hg +++ b/gio/src/dbusauthobserver.hg @@ -27,19 +27,24 @@ _PINCLUDE(glibmm/private/object_p.h) namespace Gio { +namespace DBus +{ + +_GMMPROC_EXTRA_NAMESPACE(DBus) + //TODO: Add example from the C API docs in class docs. /** DBusAuthObserver - Object used for authenticating connections. * The DBusAuthObserver type provides a mechanism for participating in how a - * DBusServer (or a DBusConnection) authenticates remote peers. Simply + * DBusServer (or a DBus::Connection) authenticates remote peers. Simply * instantiate a DBusAuthObserver and connect to the signals you are * interested in. Note that new signals may be added in the future. * * @newin{2,28} * @ingroup DBus */ -class DBusAuthObserver : public Glib::Object +class AuthObserver : public Glib::Object { - _CLASS_GOBJECT(DBusAuthObserver, GDBusAuthObserver, G_DBUS_AUTH_OBSERVER, Glib::Object, GObject) + _CLASS_GOBJECT(AuthObserver, GDBusAuthObserver, G_DBUS_AUTH_OBSERVER, Glib::Object, GObject) protected: _CTOR_DEFAULT @@ -55,4 +60,6 @@ public: _WRAP_SIGNAL(bool authorize_authenticated_peer(const Glib::RefPtr<const IOStream>& stream, const Glib::RefPtr<const Credentials>& credentials), "authorize-authenticated-peer", no_default_handler) }; +} //namespace DBus + } // namespace Gio |