blob: 331538ef9ed79aa08b0552c1dc3f66f6ec9f50b1 (
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
|
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<!--
This file should exercise as many aspects of the sbus_codegen as
possible. See sbus_codegen_test.c for verification.
-->
<!--
This is an interface, it will get a sbus_interface_meta struct.
Its name will be com_planetexpress_Ship__meta, since no c symbol
is specified.
-->
<interface name="com.planetexpress.Ship">
<!-- A property -->
<property name="Color" type="s" access="read"/>
<!-- A method with two in and one out argument -->
<method name="MoveUniverse">
<!-- This is a boolean arg -->
<arg name="smoothly" type="b" direction="in"/>
<!-- This is an uint32 arg -->
<arg name="speed_factor" type="u" direction="in"/>
<!-- This is a string arg -->
<arg name="where_we_crashed" type="s" direction="out"/>
</method>
<!-- A signal with one argument -->
<signal name="BecameSentient">
<arg name="gender" type="s"/>
</signal>
<!-- A method with a specific c name -->
<method name="Crash">
<annotation value="crash_now" name="org.freedesktop.DBus.GLib.CSymbol"/>
<arg name="where" type="s" direction="in"/>
</method>
<!-- A method without a type-safe handler -->
<method name="Land">
<annotation name="org.freedesktop.sssd.RawHandler" value="true"/>
</method>
</interface>
<!--
Another interface. It's C name will be test_pilot, since we've overridden
the c symbol name.
-->
<interface name="com.planetexpress.Pilot">
<annotation value="test_pilot" name="org.freedesktop.DBus.GLib.CSymbol"/>
<!-- A property -->
<property name="FullName" type="s" access="readwrite"/>
<!-- A simple method -->
<method name="Blink">
<!-- This is an uint32 arg -->
<arg name="duration" type="u" direction="in"/>
<!-- This is a boolean return value -->
<arg name="crashed" type="b" direction="out"/>
</method>
</interface>
</node>
|