-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathde.sleepmap.Caterpillar.xml
97 lines (93 loc) · 2.97 KB
/
de.sleepmap.Caterpillar.xml
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
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="de.sleepmap.Caterpillar">
<!--
Trigger the search for an update
It is advised to subscribe to the `UpdateFound` signal before calling this method.
-->
<method name="SearchForUpdate">
</method>
<!--
Trigger the installation of an update
The parameters to this method provide information on whether to update (b) and whether to reboot afterwards (b)
-->
<method name="InstallUpdate">
<arg name="update" type="b" direction="in"/>
<arg name="reboot" type="b" direction="in"/>
</method>
<!--
A signal, broadcasting information on found updates
The update is returned in an array of length one.
The update information consists of the absolute filename (s),
the current version of the system (s),
the new version (s)
and whether the update is an override (b)
-->
<signal name="UpdateFound">
<arg name="update" type="a(sssb)"/>
</signal>
<!--
Whether the system has been marked for reboot when requesting the installation of an update
-->
<property name="MarkedForReboot" type="b" access="read"/>
<!--
The internal state of Caterpillar
One of
- "done"
- "idle"
- "init"
- "mounted"
- "mounting"
- "noupdatefound"
- "searching"
- "skip"
- "unmounted"
- "unmounting"
- "updated"
- "updatefound"
- "updating"
-->
<property name="State" type="s" access="read"/>
<!--
Whether the system has been successfully updated
-->
<property name="Updated" type="b" access="read"/>
</interface>
<interface name="org.freedesktop.DBus.Peer">
<method name="Ping">
</method>
<method name="GetMachineId">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg type="v" direction="out"/>
</method>
<method name="Set">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method>
<method name="GetAll">
<arg name="interface_name" type="s" direction="in"/>
<arg type="a{sv}" direction="out"/>
</method>
<!--
Emits the `org.freedesktop.DBus.Properties.PropertiesChanged` signal.
-->
<signal name="PropertiesChanged">
<arg name="interface_name" type="s"/>
<arg name="changed_properties" type="a{sv}"/>
<arg name="invalidated_properties" type="as"/>
</signal>
</interface>
</node>