[glibmm] Gio::NetworkMonitor: Add get_network_metered() and property.



commit 3543cd377ab0255ee14722ee42c22fa2af3cadbd
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Aug 12 13:42:38 2015 +0200

    Gio::NetworkMonitor: Add get_network_metered() and property.

 gio/src/networkmonitor.hg |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/networkmonitor.hg b/gio/src/networkmonitor.hg
index 562c3d9..df55fda 100644
--- a/gio/src/networkmonitor.hg
+++ b/gio/src/networkmonitor.hg
@@ -48,6 +48,8 @@ public:
 
   _WRAP_METHOD(bool get_network_available() const, g_network_monitor_get_network_available, newin "2,44")
 
+  _WRAP_METHOD(bool get_network_metered() const, g_network_monitor_get_network_metered, newin "2,46")
+
   _WRAP_METHOD(NetworkConnectivity get_connectivity() const, g_network_monitor_get_connectivity)
 
   _WRAP_METHOD(bool can_reach(const Glib::RefPtr<SocketConnectable>& connectable, const 
Glib::RefPtr<Cancellable>& cancellable{?}), g_network_monitor_can_reach, errthrow, newin "2,44")
@@ -64,6 +66,7 @@ public:
 
   _WRAP_PROPERTY("network-available", bool, newin "2,44")
   _WRAP_PROPERTY("connectivity", NetworkConnectivity)
+  _WRAP_PROPERTY("network-metered", bool, newin "2,46")
 };
 
 } // namespace Gio


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