diff options
Diffstat (limited to 'test/interfaces/valid-annotations.xml')
-rw-r--r-- | test/interfaces/valid-annotations.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/interfaces/valid-annotations.xml b/test/interfaces/valid-annotations.xml new file mode 100644 index 0000000..38115b0 --- /dev/null +++ b/test/interfaces/valid-annotations.xml @@ -0,0 +1,27 @@ +<?xml version="1.0"?><!-- ex:set et ts=2: --> +<node name="/org/freedesktop/DBus/GLib/Test/Interfaces"> + <interface name="org.freedesktop.DBus.GLib.Test.Interfaces.Annotated"> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="test_annotated"/> + <annotation name="com.example.Annotatable" value="yes"/> + + <method name="DoThings"> + <annotation name="com.example.Annotatable" value="yeah"/> + <arg name="message" type="s" direction="out"> + <annotation name="com.example.MaybeAnnotatable" + value="strictly speaking this isn't meant to be allowed"/> + </arg> + </method> + + <signal name="ThingsDone"> + <annotation name="com.example.Annotatable" value="fd.o#27598 says so"/> + <arg name="message" type="s"> + <annotation name="com.example.MaybeAnnotatable" + value="strictly speaking this isn't meant to be allowed"/> + </arg> + </signal> + + <property name="Things" type="s" access="read"> + <annotation name="com.example.Annotatable" value="hopefully"/> + </property> + </interface> +</node> |