From b498dbcc1af41796186e721bcfea916d9fccb2c5 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 29 Mar 2004 13:24:50 +0000 Subject: 2004-03-29 Michael Meeks * glib/dbus-gobject.c (set_object_property): split out / re-work, use the property type, and not the message type(!) (get_object_property): ditto. * glib/dbus-gvalue.c (dbus_gvalue_demarshal), (dbus_gvalue_marshal): make this code re-usable, needed for signals too, also on both proxy and server side. Re-write for more efficiency / readability. --- glib/dbus-gvalue.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 glib/dbus-gvalue.h (limited to 'glib/dbus-gvalue.h') diff --git a/glib/dbus-gvalue.h b/glib/dbus-gvalue.h new file mode 100644 index 00000000..fc45f7e0 --- /dev/null +++ b/glib/dbus-gvalue.h @@ -0,0 +1,16 @@ +#ifndef DBUS_GOBJECT_VALUE_H +#define DBUS_GOBJECT_VALUE_H + +#include +#include +#include + +G_BEGIN_DECLS + +gboolean dbus_gvalue_demarshal (DBusMessageIter *iter, GValue *value); +gboolean dbus_gvalue_marshal (DBusMessageIter *iter, GValue *value); + + +G_END_DECLS + +#endif /* DBUS_GOBJECT_VALUE_H */ -- cgit