summaryrefslogtreecommitdiff
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
commit111d79d2ad56ca27d44b6afd90d585c279f7bf33 (patch)
tree49845acace7b029489aa4855bf248cea2113965c /glib/dbus-gvalue.h
parentae11ddff712b8f5eec4d362beeaf0a2eb81e19d6 (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 0000000..fc45f7e
--- /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 */