aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/dbus/network_manager.vala
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/dbus/network_manager.vala')
-rw-r--r--libdino/src/dbus/network_manager.vala22
1 files changed, 0 insertions, 22 deletions
diff --git a/libdino/src/dbus/network_manager.vala b/libdino/src/dbus/network_manager.vala
deleted file mode 100644
index be9fb42b..00000000
--- a/libdino/src/dbus/network_manager.vala
+++ /dev/null
@@ -1,22 +0,0 @@
-namespace Dino {
-
-[DBus (name = "org.freedesktop.NetworkManager")]
-public interface NetworkManager : Object {
-
- public const int CONNECTED_GLOBAL = 70;
-
- public abstract uint32 State {owned get;}
- public signal void StateChanged(uint32 state);
-}
-
-public static NetworkManager? get_network_manager() {
- NetworkManager? nm = null;
- try {
- nm = Bus.get_proxy_sync(BusType.SYSTEM, "org.freedesktop.NetworkManager", "/org/freedesktop/NetworkManager");
- } catch (IOError e) {
- stderr.printf ("%s\n", e.message);
- }
- return nm;
-}
-
-}