diff options
| author | Michael Biebl <biebl@debian.org> | 2011-04-08 07:30:59 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-04-08 07:30:59 +0200 |
| commit | f75dd6fd1975146623052b843b182dc32c3fbe46 (patch) | |
| tree | 05ba60b772670f038c9a1fbff940ec5d3e28d870 /libnm-glib/nm-object-private.h | |
| parent | c980bdf58dc973dd5617aaa6f9466f9e44fcbf58 (diff) | |
Imported Upstream version 0.8.998 upstream/0.8.998
Diffstat (limited to 'libnm-glib/nm-object-private.h')
| -rw-r--r-- | libnm-glib/nm-object-private.h | 63 |
1 files changed, 37 insertions, 26 deletions
diff --git a/libnm-glib/nm-object-private.h b/libnm-glib/nm-object-private.h index 93514cbe..4410df22 100644 --- a/libnm-glib/nm-object-private.h +++ b/libnm-glib/nm-object-private.h @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2008 Red Hat, Inc. + * Copyright (C) 2008 - 2011 Red Hat, Inc. */ #ifndef NM_OBJECT_PRIVATE_H @@ -37,9 +37,11 @@ typedef struct { } NMPropertiesChangedInfo; -void _nm_object_handle_properties_changed (NMObject *object, - DBusGProxy *proxy, - const NMPropertiesChangedInfo *info); +void _nm_object_handle_properties_changed (NMObject *object, + DBusGProxy *proxy, + const NMPropertiesChangedInfo *info); + +void _nm_object_process_properties_changed (NMObject *self, GHashTable *properties); gboolean _nm_object_demarshal_generic (NMObject *object, GParamSpec *pspec, GValue *value, gpointer field); @@ -48,46 +50,55 @@ void _nm_object_queue_notify (NMObject *object, const char *property); /* DBus property accessors */ gboolean _nm_object_get_property (NMObject *object, - const char *interface, - const char *prop_name, - GValue *value); + const char *interface, + const char *prop_name, + GValue *value, + GError **error); void _nm_object_set_property (NMObject *object, - const char *interface, - const char *prop_name, - GValue *value); + const char *interface, + const char *prop_name, + GValue *value); char *_nm_object_get_string_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); char *_nm_object_get_object_path_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); gint32 _nm_object_get_int_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); guint32 _nm_object_get_uint_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); gboolean _nm_object_get_boolean_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); gint8 _nm_object_get_byte_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); gdouble _nm_object_get_double_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); GByteArray *_nm_object_get_byte_array_property (NMObject *object, - const char *interface, - const char *prop_name); + const char *interface, + const char *prop_name, + GError **error); static inline const GPtrArray * handle_ptr_array_return (GPtrArray *array) |