[glibmm] Gio::SocketClient: Added some methods.



commit 5cb73ca8bc7e3fbdf92ca4388b5a7f745c902291
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 25 10:36:54 2013 +0100

    Gio::SocketClient: Added some methods.
    
        * gio/src/desktopappinfo.hg: Added has_key(),
        get_string() and get_boolean().

 ChangeLog                 |    7 +++++++
 gio/src/desktopappinfo.hg |    4 ++++
 gio/src/resolver.hg       |    3 +++
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d42fb8a..b8d67a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,13 @@
 
        Gio::SocketClient: Added some methods.
 
+       * gio/src/desktopappinfo.hg: Added has_key(),
+       get_string() and get_boolean().
+
+2013-03-25  Murray Cumming  <murrayc murrayc com>
+
+       Gio::SocketClient: Added some methods.
+
        * gio/src/socketclient.hg: Added get/set_tls(),
        get/set_tls_validation_flags(), get/set_proxy_resolver().
        Added timeout, tls, enable-proxy, tls-validation, and 
diff --git a/gio/src/desktopappinfo.hg b/gio/src/desktopappinfo.hg
index fcdf436..3b5db9f 100644
--- a/gio/src/desktopappinfo.hg
+++ b/gio/src/desktopappinfo.hg
@@ -65,6 +65,10 @@ public:
   _WRAP_METHOD(bool get_show_in(const std::string& desktop_env) const, g_desktop_app_info_get_show_in)
   _WRAP_METHOD(std::string get_generic_name() const, g_desktop_app_info_get_generic_name)
   _WRAP_METHOD(std::string get_categories() const, g_desktop_app_info_get_categories)
+
+  _WRAP_METHOD(bool has_key(const Glib::ustring& key) const, g_desktop_app_info_has_key)
+  _WRAP_METHOD(Glib::ustring get_string(const Glib::ustring& key), g_desktop_app_info_get_string )
+  _WRAP_METHOD(bool get_boolean(const Glib::ustring& key) const, g_desktop_app_info_get_boolean)
 };
 
 } // namespace Gio
diff --git a/gio/src/resolver.hg b/gio/src/resolver.hg
index 1acff31..9fa83ab 100644
--- a/gio/src/resolver.hg
+++ b/gio/src/resolver.hg
@@ -69,6 +69,9 @@ public:
   // g_resolver_free_addresses is just a C convenience function
   _IGNORE(g_resolver_free_addresses)
 
+  // g_resolver_get_serial() is private API.
+  _IGNORE(g_resolver_get_serial)
+
 #m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr<InetAddress> >',`$2($3, Glib::OWNERSHIP_DEEP)')
   _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<InetAddress> > lookup_by_name(const Glib::ustring& hostname, 
const Glib::RefPtr<Cancellable>& cancellable{?}), g_resolver_lookup_by_name, errthrow)
 


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