summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device-private.h
diff options
context:
space:
mode:
authorTambet Ingo <tambet@ximian.com>2007-03-16 09:37:53 +0000
committerTambet Ingo <tambet@gmail.com>2007-03-16 09:37:53 +0000
commite1c3b5538c46babf9d9b8adf803861513f92a87e (patch)
treebde7219c5d12b61d01c7dbb8e07f5dee923f1e04 /libnm-glib/nm-device-private.h
parent8fa8ac4c80f0e17fcc5cbfbaa87f0cefcc19d0f2 (diff)
downloadNetworkManager-e1c3b5538c46babf9d9b8adf803861513f92a87e.tar.gz
2007-03-16 Tambet Ingo <tambet@ximian.com>
* libnm-glib/nm-device.c (nm_device_get_description): Implement. * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a "manager-running" signal that notifies the appearance/disappearance of NM. (nm_client_sleep): Implement. * libnm-glib/nm-device.c: * libnm-glib/nm-device-802-11-wireless.c: * libnm-glib/nm-device-802-3-ethernet.c: Don't inherit from DBusGProxy, add a proxy to private data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals for anything but their own dbus interface. DBusGProxy objects support only one interfaces and to work around this, NMDevice has spearate proxy for each dbus interface. The nice side effect of this change is that we do not create a new DBusGProxy object for each property access. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2479 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-device-private.h')
-rw-r--r--libnm-glib/nm-device-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libnm-glib/nm-device-private.h b/libnm-glib/nm-device-private.h
index 973077b4c5..f9f2e79007 100644
--- a/libnm-glib/nm-device-private.h
+++ b/libnm-glib/nm-device-private.h
@@ -1,6 +1,12 @@
#ifndef NM_DEVICE_PRIVATE_H
#define NM_DEVICE_PRIVATE_H
+#include <dbus/dbus-glib.h>
+
+DBusGConnection *nm_device_get_connection (NMDevice *device);
+const char *nm_device_get_path (NMDevice *device);
+DBusGProxy *nm_device_get_properties_proxy (NMDevice *device);
+
/* static methods */
NMDeviceType nm_device_type_for_path (DBusGConnection *connection,
const char *path);