diff options
author | Tambet Ingo <tambet@gmail.com> | 2007-08-09 09:19:57 +0000 |
---|---|---|
committer | Tambet Ingo <tambet@gmail.com> | 2007-08-09 09:19:57 +0000 |
commit | 6a68d79c0839c928e513b82035dc2953354aa94f (patch) | |
tree | 420ae302273c127b677bf78fe6a5222db23ba21c /libnm-glib/nm-object.h | |
parent | 8fa04018ccff6148268aa0e5c65c6c5d7275c03a (diff) | |
download | NetworkManager-6a68d79c0839c928e513b82035dc2953354aa94f.tar.gz |
2007-08-09 Tambet Ingo <tambet@gmail.com>
[Based on patch by Helmut Schaa <hschaa@suse.de>]
* libnm-glib/nm-client.h:
* libnm-glib/nm-object.h:
* libnm-glib/nm-vpn-connection.h:
* libnm-glib/nm-settings.h:
* libnm-glib/nm-device.h:
* libnm-glib/nm-ip4-config.h:
* libnm-glib/nm-access-point.h:
* libnm-glib/nm-device-802-3-ethernet.h:
* libnm-util/nm-setting.h:
* libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to
* support C++.
* libnm-glib/nm-object.c (nm_object_get_byte_property):
* Implement.
* libnm-glib/nm-access-point.c: Strength has type char.
* gnome/vpn-properties/Makefile.am: Remove
* GNOME_DISABLE_DEPRECTATED for now
to fix build. GnomeDruid is deprecated in recent libgnomeui.
* introspection/nm-access-point.xml: Strength property is char,
* not int.
* src/NetworkManagerAP.c (set_property): Set strength from char.
(get_property): Handle hidden APs (with empty SSID).
Get strength value from char.
(nm_ap_class_init): Strength property has char type.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2659 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-object.h')
-rw-r--r-- | libnm-glib/nm-object.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libnm-glib/nm-object.h b/libnm-glib/nm-object.h index 8369538265..1a41b9c71b 100644 --- a/libnm-glib/nm-object.h +++ b/libnm-glib/nm-object.h @@ -5,6 +5,8 @@ #include <glib-object.h> #include <dbus/dbus-glib.h> +G_BEGIN_DECLS + #define NM_TYPE_OBJECT (nm_object_get_type ()) #define NM_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_OBJECT, NMObject)) #define NM_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_OBJECT, NMObjectClass)) @@ -60,6 +62,10 @@ gboolean nm_object_get_boolean_property (NMObject *object, const char *interface, const char *prop_name); +gint8 nm_object_get_byte_property (NMObject *object, + const char *interface, + const char *prop_name); + gdouble nm_object_get_double_property (NMObject *object, const char *interface, const char *prop_name); @@ -69,4 +75,6 @@ GByteArray *nm_object_get_byte_array_property (NMObject *object, const char *prop_name); +G_END_DECLS + #endif /* NM_OBJECT_H */ |