summaryrefslogtreecommitdiff
path: root/monitor/proxy/dbus-interfaces.xml
blob: 03c6caaa87e5279927ee939d9399f2659fdfc11b (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">

<!--
 Copyright (C) 2011 Red Hat, Inc.

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General
 Public License along with this library; if not, write to the
 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA 02110-1301, USA.

 Author: Tomas Bzatek <tbzatek@redhat.com>
-->

<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
  <interface name='org.gtk.Private.RemoteVolumeMonitor'>

    <!--  GIO side  -->
    <signal name="DriveChanged">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssbbbbbbbbuasa{ss}sa{sv})' name='drive'/>
    </signal>
    <signal name="DriveConnected">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssbbbbbbbbuasa{ss}sa{sv})' name='drive'/>
    </signal>
    <signal name="DriveDisconnected">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssbbbbbbbbuasa{ss}sa{sv})' name='drive'/>
    </signal>
    <signal name="DriveEjectButton">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssbbbbbbbbuasa{ss}sa{sv})' name='drive'/>
    </signal>
    <signal name="DriveStopButton">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssbbbbbbbbuasa{ss}sa{sv})' name='drive'/>
    </signal>
    <signal name="VolumeChanged">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbbssa{ss}sa{sv})' name='volume'/>
    </signal>
    <signal name="VolumeAdded">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbbssa{ss}sa{sv})' name='volume'/>
    </signal>
    <signal name="VolumeRemoved">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbbssa{ss}sa{sv})' name='volume'/>
    </signal>
    <signal name="MountChanged">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbsassa{sv})' name='mount'/>
    </signal>
    <signal name="MountAdded">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbsassa{sv})' name='mount'/>
    </signal>
    <signal name="MountPreUnmount">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbsassa{sv})' name='mount'/>
    </signal>
    <signal name="MountRemoved">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='(ssssssbsassa{sv})' name='mount'/>
    </signal>
    <signal name="MountOpAskPassword">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='s' name='message_to_show'/>
      <arg type='s' name='default_user'/>
      <arg type='s' name='default_domain'/>
      <arg type='u' name='flags'/>
    </signal>
    <signal name="MountOpAskQuestion">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='s' name='message_to_show'/>
      <arg type='as' name='choices'/>
    </signal>
    <signal name="MountOpShowProcesses">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='s' name='message_to_show'/>
      <arg type='ai' name='pid'/>
      <arg type='as' name='choices'/>
    </signal>
    <signal name="MountOpShowUnmountProgress">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
      <arg type='s' name='message_to_show'/>
      <arg type='x' name='time_left'/>
      <arg type='x' name='bytes_left'/>
    </signal>
    <signal name="MountOpAborted">
      <arg type='s' name='dbus_name'/>
      <arg type='s' name='id'/>
    </signal>


    <!--  Particular volume monitor implementations  -->
    <method name="IsSupported">
      <arg type='b' name='is_supported' direction='out'/>
    </method>
    <method name="List">
      <arg type='a(ssssbbbbbbbbuasa{ss}sa{sv})' name='drives' direction='out'/>
      <arg type='a(ssssssbbssa{ss}sa{sv})' name='volumes' direction='out'/>
      <arg type='a(ssssssbsassa{sv})' name='mounts' direction='out'/>
    </method>
    <method name="CancelOperation">
      <arg type='s' name='cancellation_id' direction='in'/>
      <arg type='b' name='was_cancelled' direction='out'/>
    </method>
    <method name="MountUnmount">
      <arg type='s' name='id' direction='in'/>
      <arg type='s' name='cancellation_id' direction='in'/>
      <arg type='u' name='unmount_flags' direction='in'/>
      <arg type='s' name='mount_op_id' direction='in'/>
    </method>
    <method name="VolumeMount">
      <arg type='s' name='id' direction='in'/>
      <arg type='s' name='cancellation_id' direction='in'/>
      <arg type='u' name='mount_flags' direction='in'/>
      <arg type='s' name='mount_op_id' direction='in'/>
    </method>
    <method name="DriveEject">
      <arg type='s' name='id' direction='in'/>
      <arg type='s' name='cancellation_id' direction='in'/>
      <arg type='u' name='unmount_flags' direction='in'/>
      <arg type='s' name='mount_op_id' direction='in'/>
    </method>
    <method name="DrivePollForMedia">
      <arg type='s' name='id' direction='in'/>
      <arg type='s' name='cancellation_id' direction='in'/>
    </method>
    <method name="DriveStart">
      <arg type='s' name='id' direction='in'/>
      <arg type='s' name='cancellation_id' direction='in'/>
      <arg type='u' name='flags' direction='in'/>
      <arg type='s' name='mount_op_id' direction='in'/>
    </method>
    <method name="DriveStop">
      <arg type='s' name='id' direction='in'/>
      <arg type='s' name='cancellation_id' direction='in'/>
      <arg type='u' name='unmount_flags' direction='in'/>
      <arg type='s' name='mount_op_id' direction='in'/>
    </method>
    <method name="MountOpReply">
      <arg type='s' name='mount_op_id' direction='in'/>
      <arg type='i' name='result' direction='in'/>
      <arg type='s' name='user_name' direction='in'/>
      <arg type='s' name='domain' direction='in'/>
      <arg type='s' name='encoded_password' direction='in'/>
      <arg type='i' name='password_save' direction='in'/>
      <arg type='i' name='choice' direction='in'/>
      <arg type='b' name='anonymous' direction='in'/>
    </method>
    <method name="MountOpReply2">
      <arg type='s' name='mount_op_id' direction='in'/>
      <arg type='i' name='result' direction='in'/>
      <arg type='s' name='user_name' direction='in'/>
      <arg type='s' name='domain' direction='in'/>
      <arg type='s' name='encoded_password' direction='in'/>
      <arg type='i' name='password_save' direction='in'/>
      <arg type='i' name='choice' direction='in'/>
      <arg type='b' name='anonymous' direction='in'/>
      <arg type='b' name='hidden_volume' direction='in'/>
      <arg type='b' name='system_volume' direction='in'/>
      <arg type='u' name='pim' direction='in'/>
    </method>
  </interface>
</node>