summaryrefslogtreecommitdiffstats
path: root/test/glib/test-service-glib.xml
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2005-07-09 17:52:52 +0000
committerColin Walters <walters@verbum.org>2005-07-09 17:52:52 +0000
commitb1ae5399f82a88ba397d55f224d00f437564bac5 (patch)
tree5318877a5a8dffa85d2fa9e624e80fb9e9715dc4 /test/glib/test-service-glib.xml
parent0ccef79d7e9d1b19cdb10b3a147b64b41686905d (diff)
2005-07-09 Colin Walters <walters@verbum.org>
* glib/dbus-binding-tool-glib.h (DBUS_GLIB_ANNOTATION_CONST): Define. * glib/dbus-binding-tool-glib.c (generate_glue): Handle Const annotation. * glib/dbus-gobject.c (arg_iterate): Update to parse constval too. (method_dir_signature_from_object_info): Handle arg_iterate change. (write_interface): Ditto. (lookup_object_info): Don't barf if format_version is > 0. (invoke_object_method): Handle arg constness. * glib/dbus-gidl.c (struct ArgInfo): Add annotations. (arg_info_new): Create. (arg_info_unref): Destroy. (arg_info_get_annotations, arg_info_get_annotation) (arg_info_add_annotation): New functions. * glib/dbus-gidl.h: Prototype them. * glib/dbus-gparser.c (parse_annotation): Allow annotations in args, disallow them in properties. (parse_annotation): Handle arg annotations. * test/glib/test-service-glib.xml: * test/glib/test-service-glib.c: Update to make some methods const.
Diffstat (limited to 'test/glib/test-service-glib.xml')
-rw-r--r--test/glib/test-service-glib.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/glib/test-service-glib.xml b/test/glib/test-service-glib.xml
index c299a80c..84524a10 100644
--- a/test/glib/test-service-glib.xml
+++ b/test/glib/test-service-glib.xml
@@ -32,7 +32,9 @@
<arg type="i" direction="out" />
<arg type="u" direction="out" />
<arg type="u" direction="out" />
- <arg type="s" direction="out" />
+ <arg type="s" direction="out">
+ <annotation name="org.freedesktop.DBus.GLib.Const" value=""/>
+ </arg>
</method>
<method name="Stringify">
@@ -71,7 +73,9 @@
<method name="Objpath">
<arg type="o" direction="in"/>
- <arg type="o" direction="out"/>
+ <arg type="o" direction="out">
+ <annotation name="org.freedesktop.DBus.GLib.Const" value=""/>
+ </arg>
</method>
<method name="GetObjs">