[glibmm] Gio: ProxyAddress: Wrap some new methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio: ProxyAddress: Wrap some new methods.
- Date: Sat, 1 Sep 2012 12:44:48 +0000 (UTC)
commit 23eca4c5f24365b0f3242ecc0fba630b0d3664d2
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Sep 1 14:44:34 2012 +0200
Gio: ProxyAddress: Wrap some new methods.
* gio/src/proxyaddress.hg: Add get_destination_protocol()
and get_uri().
ChangeLog | 7 +++++++
gio/src/proxyaddress.hg | 6 ++++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 80a57d9..68a8307 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-09-01 Murray Cumming <murrayc murrayc com>
+ Gio: ProxyAddress: Wrap some new methods.
+
+ * gio/src/proxyaddress.hg: Add get_destination_protocol()
+ and get_uri().
+
+2012-09-01 Murray Cumming <murrayc murrayc com>
+
Gio: Menu, MenuModel: Wrap some new methods.
* gio/src/menu.hg: Add append_section().
diff --git a/gio/src/proxyaddress.hg b/gio/src/proxyaddress.hg
index 05e6d52..f1bb09c 100644
--- a/gio/src/proxyaddress.hg
+++ b/gio/src/proxyaddress.hg
@@ -55,13 +55,18 @@ public:
const Glib::ustring& password = Glib::ustring())
_WRAP_METHOD(Glib::ustring get_protocol() const, g_proxy_address_get_protocol)
+ _WRAP_METHOD(Glib::ustring get_destination_protocol() const, g_proxy_address_get_destination_protocol)
_WRAP_METHOD(Glib::ustring get_destination_hostname() const, g_proxy_address_get_destination_hostname)
_WRAP_METHOD(guint16 get_destination_port() const, g_proxy_address_get_destination_port)
_WRAP_METHOD(Glib::ustring get_username() const, g_proxy_address_get_username)
_WRAP_METHOD(Glib::ustring get_password() const, g_proxy_address_get_password)
+ _WRAP_METHOD(Glib::ustring get_uri() const, g_proxy_address_get_uri)
+
+
_WRAP_PROPERTY("protocol", Glib::ustring)
+ _WRAP_PROPERTY("destination_protocol", Glib::ustring)
_WRAP_PROPERTY("destination_hostname", Glib::ustring)
//TODO: This should really be a guint16:
@@ -69,6 +74,7 @@ public:
_WRAP_PROPERTY("username", Glib::ustring)
_WRAP_PROPERTY("password", Glib::ustring)
+ _WRAP_PROPERTY("uri", Glib::ustring)
};
} // namespace Gio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]