* glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal
[platform/upstream/dbus.git] / test / glib / test-service-glib.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <node name="/org/freedesktop/DBus/Tests/MyTestObject">
4   <interface name="org.freedesktop.DBus.Tests.MyObject">
5     <method name="DoNothing">
6     </method>
7
8     <method name="Increment">
9       <arg type="u" name="x" />
10       <arg type="u" direction="out" />
11     </method>
12
13     <method name="IncrementRetval">
14       <arg type="u" name="x" />
15       <arg type="u" direction="out">
16         <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value=""/>
17       </arg>
18     </method>
19
20     <method name="IncrementRetvalError">
21       <arg type="u" name="x" />
22       <arg type="u" direction="out">
23         <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value="error"/>
24       </arg>
25     </method>
26
27     <method name="ThrowError">
28     </method>
29
30     <method name="Uppercase">
31       <arg type="s" direction="in" />
32       <arg type="s" direction="out" />
33     </method>
34
35     <method name="ManyArgs">
36       <arg type="u" name="x" direction="in" />
37       <arg type="s" name="str" direction="in" />
38       <arg type="d" name="trouble" direction="in" />
39       <arg type="d" name="d_ret" direction="out" />
40       <arg type="s" name="str_ret" direction="out" />
41     </method>
42
43     <method name="ManyReturn">
44       <arg type="u" direction="out" />
45       <arg type="s" direction="out" />
46       <arg type="i" direction="out" />
47       <arg type="u" direction="out" />
48       <arg type="u" direction="out" />
49       <arg type="s" direction="out">
50         <annotation name="org.freedesktop.DBus.GLib.Const" value=""/>
51       </arg>
52     </method>
53
54     <method name="Stringify">
55       <arg type="v" name="val" direction="in"/>
56       <arg type="s" direction="out"/>
57     </method>
58
59     <method name="Unstringify">
60       <arg type="s" name="val" direction="in"/>
61       <arg type="v" direction="out"/>
62     </method>
63
64     <method name="Recursive1">
65       <arg type="au" direction="in"/>
66       <arg type="u" direction="out"/>
67     </method>
68
69     <method name="Recursive2">
70       <arg type="u" direction="in"/>
71       <arg type="au" direction="out"/>
72     </method>
73
74     <method name="ManyUppercase">
75       <arg type="as" direction="in"/>
76       <arg type="as" direction="out"/>
77     </method>
78
79     <method name="StrHashLen">
80       <arg type="a{ss}" direction="in"/>
81       <arg type="u" direction="out"/>
82     </method>
83
84     <method name="SendCar">
85       <arg type="(suv)" direction="in"/>
86       <arg type="(uo)" direction="out"/>
87     </method>
88
89     <method name="GetHash">
90       <arg type="a{ss}" direction="out"/>
91     </method>
92
93     <method name="RecArrays">
94       <arg type="aas" name="val" direction="in"/>
95       <arg type="aau" direction="out"/>
96     </method>
97
98     <method name="Objpath">
99       <arg type="o" direction="in"/>
100       <arg type="o" direction="out">
101         <annotation name="org.freedesktop.DBus.GLib.Const" value=""/>
102       </arg>
103     </method>
104
105     <method name="GetObjs">
106       <arg type="ao" direction="out"/>
107     </method>
108
109     <method name="IncrementVal">
110     </method>
111
112     <method name="AsyncIncrement">
113       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
114       <arg type="u" name="x" />
115       <arg type="u" direction="out" />
116     </method>
117
118     <method name="AsyncThrowError">
119       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
120     </method>
121     
122     <method name="GetVal">
123       <arg type="u" direction="out" />
124     </method>
125
126     <method name="ManyStringify">
127       <arg type="a{sv}" direction="in"/>
128       <arg type="a{sv}" direction="out"/>
129     </method>
130
131     <method name="EchoVariant">
132       <arg type="v" direction="in" />
133       <arg type="v" direction="out" />
134     </method>
135
136     <method name="ProcessVariantOfArrayOfInts123">
137       <arg type="v" direction="in" />
138     </method>
139
140     <method name="EmitFrobnicate">
141     </method>
142
143     <!-- Export signals -->
144     <signal name="Frobnicate"/>
145
146     <method name="Terminate">
147     </method>
148   </interface>
149
150   <!-- Test multiple interfaces on the same object -->
151
152   <interface name="org.freedesktop.DBus.Tests.FooObject">
153     <method name="GetValue">
154       <arg type="u" direction="out" />
155     </method>
156
157     <method name="EmitSignals">
158     </method>
159
160     <signal name="Sig0"/>
161
162     <signal name="Sig1"/>
163
164     <method name="EmitSignal2">
165     </method>
166
167     <signal name="Sig2"/>
168
169     <method name="Terminate">
170     </method>
171
172   </interface>
173
174 </node>