summaryrefslogtreecommitdiffstats
path: root/test/data/valid-introspection-files/lots-of-types.xml
blob: 8e0e60533c98c7e5619a4c655321b5dbe6f8d7b8 (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
<?xml version="1.0" standalone="no"?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Introspection 0.1//EN"
 "http://www.freedesktop.org/software/dbus/introspection.dtd">
<node>

  <interface name="org.freedesktop.LotsOfTypesInterface">

    <method name="SetInt32Value">
      <arg name="theInt32" type="int32"/>
    </method>
    <method name="GetInt32Value">
      <arg name="theInt32" type="int32" direction="out"/>
    </method>
    <signal name="Int32ValueChanged">
      <arg name="newInt32Value" type="int32"/>
    </signal>

    <method name="SetUint32Value">
      <arg name="theUint32" type="uint32"/>
    </method>
    <method name="GetUint32Value">
      <arg name="theUint32" type="uint32" direction="out"/>
    </method>
    <signal name="Uint32ValueChanged">
      <arg name="newUint32Value" type="uint32"/>
    </signal>

    <method name="SetInt64Value">
      <arg name="theInt64" type="int64"/>
    </method>
    <method name="GetInt64Value">
      <arg name="theInt64" type="int64" direction="out"/>
    </method>
    <signal name="Int64ValueChanged">
      <arg name="newInt64Value" type="int64"/>
    </signal>

    <method name="SetUint64Value">
      <arg name="theUint64" type="uint64"/>
    </method>
    <method name="GetUint64Value">
      <arg name="theUint64" type="uint64" direction="out"/>
    </method>
    <signal name="Uint64ValueChanged">
      <arg name="newUint64Value" type="uint64"/>
    </signal>

    <method name="SetBooleanValue">
      <arg name="theBoolean" type="boolean"/>
    </method>
    <method name="GetBooleanValue">
      <arg name="theBoolean" type="boolean" direction="out"/>
    </method>
    <signal name="BooleanValueChanged">
      <arg name="newBooleanValue" type="boolean"/>
    </signal>

    <method name="SetStringValue">
      <arg name="theString" type="string"/>
    </method>
    <method name="GetStringValue">
      <arg name="theString" type="string" direction="out"/>
    </method>
    <signal name="StringValueChanged">
      <arg name="newStringValue" type="string"/>
    </signal>

    <method name="SetDoubleValue">
      <arg name="theDouble" type="double"/>
    </method>
    <method name="GetDoubleValue">
      <arg name="theDouble" type="double" direction="out"/>
    </method>
    <signal name="DoubleValueChanged">
      <arg name="newDoubleValue" type="double"/>
    </signal>

  </interface>

  <interface name="org.freedesktop.ASecondInterface">
    <method name="RandomFrobate">
      <arg type="boolean" direction="in"/>
      <arg type="string" direction="out"/>
      <arg type="string" direction="out"/>
      <arg type="int64"/> <!-- direction defaults to "in" -->
      <arg type="string" direction="out"/>
      <arg type="string" direction="out"/>
      <arg type="int32" direction="in"/>
    </method>
  </interface>

</node>