summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-object.h
diff options
context:
space:
mode:
authorTambet Ingo <tambet@gmail.com>2007-10-12 10:18:46 +0000
committerTambet Ingo <tambet@gmail.com>2007-10-12 10:18:46 +0000
commit86306041afbeca87ee28069a6d1879b421cb6bbe (patch)
treeeb9233754d1149f2e69fbc41899af3d7ab182a82 /libnm-glib/nm-object.h
parent7ce57582075d9fbd539de73370f1d6ba7147b24c (diff)
downloadNetworkManager-86306041afbeca87ee28069a6d1879b421cb6bbe.tar.gz
2007-10-12 Tambet Ingo <tambet@gmail.com>
Rework the "properties-changed" signal listening implementation. Add a generic implementation to NMObject class that listens for the signal and calls property setters of the target NMObject. * libnm-glib/nm-object.c (nm_object_handle_properties_changed): * Implement. * libnm-glib/nm-device-802-11-wireless.c: Move the GObject * consturction code to the end of file so that all the static functions are available without extra declarations. Remove the "properties-changed" signal handling and use the framework from NMObject. Implement property setters for properties that change with "properties-changed" signal. * libnm-glib/nm-access-point.c: Ditto. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2972 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-object.h')
-rw-r--r--libnm-glib/nm-object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm-glib/nm-object.h b/libnm-glib/nm-object.h
index 1a41b9c71b..15af78a300 100644
--- a/libnm-glib/nm-object.h
+++ b/libnm-glib/nm-object.h
@@ -30,6 +30,9 @@ GType nm_object_get_type (void);
DBusGConnection *nm_object_get_connection (NMObject *object);
const char *nm_object_get_path (NMObject *object);
+void nm_object_handle_properties_changed (NMObject *object,
+ DBusGProxy *proxy);
+
/* DBus property accessors */
gboolean nm_object_get_property (NMObject *object,