summaryrefslogtreecommitdiff
path: root/test/interfaces/valid-annotations.xml
blob: 38115b07552d6d11cdef5244c33c2ed7f623a208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>