summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gvalue.h
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2004-03-29 13:24:50 +0000
committerMichael Meeks <michael@ximian.com>2004-03-29 13:24:50 +0000
commitb498dbcc1af41796186e721bcfea916d9fccb2c5 (patch)
tree4a3829304b82100d4dd21097c37e273d53cadb48 /glib/dbus-gvalue.h
parent004b37eca4ed9a33269d4850525a0e1c2f5deaff (diff)
2004-03-29 Michael Meeks <michael@ximian.com>
* 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.
Diffstat (limited to 'glib/dbus-gvalue.h')
-rw-r--r--glib/dbus-gvalue.h16
1 files changed, 16 insertions, 0 deletions
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 <dbus/dbus.h>
+#include <glib.h>
+#include <glib-object.h>
+
+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 */