summaryrefslogtreecommitdiffstats
path: root/test/glib/test-service-glib.xml
blob: 80a815fa15c282bc01fcf359e38f095436e993d4 (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="u" name="x" />
      <arg type="u" 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="s" direction="in" />
      <arg type="s" direction="out" />
    </method>

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

  </interface>

</node>