tests: Add test showing default marshaller override
[glib.git] / gio / org.freedesktop.portal.Documents.xml
blobc466c52720e104f5ce3ccd406e40d78cb17c5627
1 <!DOCTYPE node PUBLIC
2 "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
3 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
5 <!--
6  Copyright (C) 2015 Red Hat, Inc.
8  This library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Lesser General Public
10  License as published by the Free Software Foundation; either
11  version 2 of the License, or (at your option) any later version.
13  This library is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  Lesser General Public License for more details.
18  You should have received a copy of the GNU Lesser General
19  Public License along with this library; if not, write to the
20  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  Boston, MA 02110-1301, USA.
23  Author: Alexander Larsson <alexl@redhat.com>
24 -->
26 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
27   <interface name='org.freedesktop.portal.Documents'>
28     <method name="GetMountPoint">
29       <arg type='ay' name='path' direction='out'/>
30     </method>
31     <method name="Add">
32       <arg type='h' name='o_path_fd' direction='in'/>
33       <arg type='b' name='reuse_existing' direction='in'/>
34       <arg type='b' name='persistent' direction='in'/>
35       <arg type='s' name='doc_id' direction='out'/>
36     </method>
37     <method name="AddNamed">
38       <arg type='h' name='o_path_parent_fd' direction='in'/>
39       <arg type='ay' name='filename' direction='in'/>
40       <arg type='b' name='reuse_existing' direction='in'/>
41       <arg type='b' name='persistent' direction='in'/>
42       <arg type='s' name='doc_id' direction='out'/>
43     </method>
44     <method name="GrantPermissions">
45       <arg type='s' name='doc_id' direction='in'/>
46       <arg type='s' name='app_id' direction='in'/>
47       <arg type='as' name='permissions' direction='in'/>
48     </method>
49     <method name="RevokePermissions">
50       <arg type='s' name='doc_id' direction='in'/>
51       <arg type='s' name='app_id' direction='in'/>
52       <arg type='as' name='permissions' direction='in'/>
53     </method>
54     <method name="Delete">
55       <arg type='s' name='doc_id' direction='in'/>
56     </method>
57     <method name="Lookup">
58       <arg type='ay' name='filename' direction='in'/>
59       <arg type='s' name='doc_id' direction='out'/>
60     </method>
61     <method name="Info">
62       <arg type='s' name='doc_id' direction='in'/>
63       <arg type='ay' name='path' direction='out'/>
64       <arg type='a{sas}' name='apps' direction='out'/>
65     </method>
66     <method name="List">
67       <arg type='s' name='app_id' direction='in'/>
68       <arg type='a{say}' name='docs' direction='out'/>
69     </method>
70   </interface>
71 </node>