[glibmm] Gio::DBus::Connection: Add the ActionGroup export/unexport methods.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::DBus::Connection: Add the ActionGroup export/unexport methods.
- Date: Mon, 20 Feb 2012 22:13:43 +0000 (UTC)
commit 30bcfaa246532938d9222f7046183e2c511c2443
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Mon Feb 20 16:58:39 2012 -0500
Gio::DBus::Connection: Add the ActionGroup export/unexport methods.
* gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
the two functions in the new GActionGroup exporter API:
http://developer.gnome.org/gio/2.31/gio-GActionGroup-exporter.html
ChangeLog | 8 ++++++++
gio/src/dbusconnection.ccg | 1 +
gio/src/dbusconnection.hg | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2524d46..d5e94e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2012-02-20 Josà Alburquerque <jaalburquerque gmail com>
+ Gio::DBus::Connection: Add the ActionGroup export/unexport methods.
+
+ * gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
+ the two functions in the new GActionGroup exporter API:
+ http://developer.gnome.org/gio/2.31/gio-GActionGroup-exporter.html
+
+2012-02-20 Josà Alburquerque <jaalburquerque gmail com>
+
giomm: Add the DBus::ActionGroup class.
* gio/src/dbusactiongroup.{ccg,hg}: Add the sources, wrapping the
diff --git a/gio/src/dbusconnection.ccg b/gio/src/dbusconnection.ccg
index 4843218..9de4e5b 100644
--- a/gio/src/dbusconnection.ccg
+++ b/gio/src/dbusconnection.ccg
@@ -19,6 +19,7 @@
#include <gio/gio.h>
#include <glibmm/exceptionhandler.h>
+#include <giomm/actiongroup.h>
#include <giomm/dbusauthobserver.h>
#include <giomm/dbusintrospection.h>
#include <giomm/dbusmethodinvocation.h>
diff --git a/gio/src/dbusconnection.hg b/gio/src/dbusconnection.hg
index dc0d74e..3522251 100644
--- a/gio/src/dbusconnection.hg
+++ b/gio/src/dbusconnection.hg
@@ -36,6 +36,7 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gio
{
+class ActionGroup;
class UnixFDList;
@@ -1040,6 +1041,9 @@ public:
_WRAP_METHOD(bool unregister_subtree(guint registration_id), g_dbus_connection_unregister_subtree)
+ _WRAP_METHOD(guint export_action_group(const Glib::ustring& object_path, const Glib::RefPtr<ActionGroup>& action_group), g_dbus_connection_export_action_group, errthrow)
+ _WRAP_METHOD(void unexport_action_group(guint export_id), g_dbus_connection_unexport_action_group)
+
//_WRAP_PROPERTY("address", std::string) // write-only construct-only
//_WRAP_PROPERTY("authentication-observer", Glib::RefPtr<AuthObserver>) // write-only construct-only
_WRAP_PROPERTY("capabilities", CapabilityFlags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]