diff options
author | Dan Winship <danw@gnome.org> | 2012-01-11 07:56:04 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-02-03 10:33:43 -0600 |
commit | cc90f1010eeaf6987fbe3e042bf96b01b52dd5de (patch) | |
tree | 8b67a8bb1294278f5ba43cd434eb310d74274b04 /libnm-glib/nm-device-private.h | |
parent | 5afcee46936ab547a95fdaa7e415aa3ba6de47d2 (diff) | |
download | NetworkManager-cc90f1010eeaf6987fbe3e042bf96b01b52dd5de.tar.gz |
libnm-glib: simplify handling of object and object array properties
Add an "object_type" field to NMPropertiesInfo, and use that with
DBUS_TYPE_G_OBJECT_PATH and DBUS_TYPE_G_ARRAY_OF_OBJECT_PATH
properties so that we don't need custom marshallers for each one.
When creating an NMDevice or NMActiveConnection, we need to fetch an
extra property first to figure out the exact subclass to use, so add a
bit of infrastructure for that as well. Also, do that preprocessing
asynchronously when processing a property change notification, so that
it doesn't block the main loop.
Diffstat (limited to 'libnm-glib/nm-device-private.h')
-rw-r--r-- | libnm-glib/nm-device-private.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libnm-glib/nm-device-private.h b/libnm-glib/nm-device-private.h index 2c56a0e646..5abf03f301 100644 --- a/libnm-glib/nm-device-private.h +++ b/libnm-glib/nm-device-private.h @@ -29,8 +29,4 @@ 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); - #endif /* NM_DEVICE_PRIVATE_H */ |