summaryrefslogtreecommitdiffstats
path: root/test/glib/test-service-glib.xml
blob: 298e2ddbc3209a2ecd0bb644e71b0938f35f3e59 (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
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8" ?>

<node name="/org/freedesktop/DBus/Tests/MyTestObject">

  <interface name="org.freedesktop.DBus.Tests.MyObject">
    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="my_object"/>

    <method name="DoNothing">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="my_object_do_nothing"/>
    </method>

    <method name="Increment">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="my_object_increment"/>
      <arg type="uint32" name="x" />
      <arg type="uint32" direction="out" />
    </method>

    <method name="ThrowError">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="my_object_throw_error"/>
    </method>

    <method name="Uppercase">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="my_object_uppercase"/>
      <arg type="string" direction="in" />
      <arg type="string" direction="out" />
    </method>

    <method name="ManyArgs">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="my_object_many_args"/>
      <arg type="uint32" name="x" direction="in" />
      <arg type="string" name="str" direction="in" />
      <arg type="double" name="trouble" direction="in" />
      <arg type="double" name="d_ret" direction="out" />
      <arg type="string" name="str_ret" direction="out" />
    </method>

  </interface>

</node>