summaryrefslogtreecommitdiff
path: root/data/dbus-interfaces2.xml
blob: 44cf07bb0a722be7046a9a1756e7e6f465ba975e (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
<!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, see <http://www.gnu.org/licenses/>.

 Author: Alexander Larsson <alexl@redhat.com>
-->

<!--
  org.gnome.Nautilus.FileOperations2:
  @short_description: Nautilus File Operations D-Bus interface

  This API is meant to be consumed by desktop components, and optimized
  for their needs. This API is considered private and must not be used
  by applications.

  All methods takes platform_data argument that can be used to pass
  extra data. Currently supported arguments are:
  - parent-handle (s): the parent window identifier, used to set parent
                       window for dialogs; must be in x11:XID or
                       wayland:HANDLE form
  - timestamp (u): the timestamp of the user interaction
-->
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
  <interface name='org.gnome.Nautilus.FileOperations2'>

    <method name='CopyURIs'>
      <arg type='as' name='sources' direction='in'/>
      <arg type='s' name='destination' direction='in'/>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='MoveURIs'>
      <arg type='as' name='sources' direction='in'/>
      <arg type='s' name='destination' direction='in'/>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='EmptyTrash'>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='TrashURIs'>
      <arg type='as' name='uris' direction='in'/>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='CreateFolder'>
      <arg type='s' name='uri' direction='in'/>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='RenameURI'>
      <arg type='s' name='uri' direction='in'/>
      <arg type='s' name='new_name' direction='in'/>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='Undo'>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>
    <method name='Redo'>
      <arg type='a{sv}' name='platform_data' direction='in'/>
    </method>

    <property name="UndoStatus" type="i" access="read"/>

  </interface>
</node>