summaryrefslogtreecommitdiffstats
path: root/test/glib/test-service-glib.xml
blob: 05cb5abdaec1a42e4ba3184dc981cc8d51cfa147 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8" ?>

<node name="/org/freedesktop/DBus/Tests/MyTestObject">
  <interface name="org.freedesktop.DBus.Tests.MyObject">
    <method name="DoNothing">
    </method>

    <method name="Increment">
      <arg type="u" name="x" />
      <arg type="u" direction="out" />
    </method>

    <method name="ThrowError">
    </method>

    <method name="Uppercase">
      <arg type="s" direction="in" />
      <arg type="s" direction="out" />
    </method>

    <method name="ManyArgs">
      <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>

    <method name="ManyReturn">
      <arg type="u" direction="out" />
      <arg type="s" direction="out" />
      <arg type="i" direction="out" />
      <arg type="u" direction="out" />
      <arg type="u" direction="out" />
      <arg type="s" direction="out" />
    </method>

    <method name="Stringify">
      <arg type="v" name="val" direction="in"/>
      <arg type="s" direction="out"/>
    </method>

    <method name="Unstringify">
      <arg type="s" name="val" direction="in"/>
      <arg type="v" direction="out"/>
    </method>

    <method name="Recursive1">
      <arg type="au" direction="in"/>
      <arg type="u" direction="out"/>
    </method>

    <method name="Recursive2">
      <arg type="u" direction="in"/>
      <arg type="au" direction="out"/>
    </method>

    <method name="ManyUppercase">
      <arg type="as" direction="in"/>
      <arg type="as" direction="out"/>
    </method>

    <method name="StrHashLen">
      <arg type="a{ss}" direction="in"/>
      <arg type="u" direction="out"/>
    </method>

    <method name="GetHash">
      <arg type="a{ss}" direction="out"/>
    </method>

    <method name="Objpath">
      <arg type="o" direction="in"/>
      <arg type="o" direction="out"/>
    </method>

    <method name="IncrementVal">
    </method>

    <method name="GetVal">
      <arg type="u" direction="out" />
    </method>

    <method name="EmitFrobnicate">
    </method>

    <!-- Export signals -->
    <signal name="Frobnicate"/>
  </interface>

  <!-- Test multiple interfaces on the same object -->

  <interface name="org.freedesktop.DBus.Tests.FooObject">
    <method name="GetValue">
      <arg type="u" direction="out" />
    </method>

    <method name="EmitSignals">
    </method>

    <signal name="Sig0"/>

    <signal name="Sig1"/>

  </interface>

</node>