[glibmm] Gio: DBusAuthObserver: Add allow_mechanism().



commit 2639aaacf421e74fb5a8cb5b0d6c9840260c3b0b
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 7 09:32:34 2012 +0200

    Gio: DBusAuthObserver: Add allow_mechanism().
    
    * gio/src/dbusauthobserver.hg: Add the allow_mechanism()
    method and signal.

 ChangeLog                   |    7 +++++++
 gio/src/dbusauthobserver.hg |    3 +++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a7df226..689aee7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-09-07  Murray Cumming  <murrayc murrayc com>
 
+	Gio: DBusAuthObserver: Add allow_mechanism().
+
+	* gio/src/dbusauthobserver.hg: Add the allow_mechanism()
+	method and signal.
+
+2012-09-07  Murray Cumming  <murrayc murrayc com>
+
 	Application: Add get_dbus_*() methods.
 
 	* gio/src/application.hg: Add get_dbus_connection()
diff --git a/gio/src/dbusauthobserver.hg b/gio/src/dbusauthobserver.hg
index d9e4324..4e89c86 100644
--- a/gio/src/dbusauthobserver.hg
+++ b/gio/src/dbusauthobserver.hg
@@ -54,10 +54,13 @@ public:
   _WRAP_CREATE()
 
   _WRAP_METHOD(bool authorize_authenticated_peer(const Glib::RefPtr<const IOStream>& stream, const Glib::RefPtr<const Credentials>& credentials), g_dbus_auth_observer_authorize_authenticated_peer)
+  _WRAP_METHOD(bool allow_mechanism(const std::string& mechanism), g_dbus_auth_observer_allow_mechanism)
 
 #m4 _CONVERSION(`GIOStream*', `const Glib::RefPtr<const IOStream>&', `Glib::wrap($3, true)')
 #m4 _CONVERSION(`GCredentials*', `const Glib::RefPtr<const Credentials>&', `Glib::wrap($3, true)')
   _WRAP_SIGNAL(bool authorize_authenticated_peer(const Glib::RefPtr<const IOStream>& stream, const Glib::RefPtr<const Credentials>& credentials), "authorize-authenticated-peer", no_default_handler)
+
+  _WRAP_SIGNAL(bool allow_mechanism(const std::string& mechanism), allow_mechanism, no_default_handler)
 };
 
 } //namespace DBus



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