summaryrefslogtreecommitdiffstats
path: root/interfaces/interfaces.xml
blob: c6f535728fafc0c0b5c68d299be5ef81e75485cd (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
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/freedesktop/portal/desktop">
 <!-- Account -->
 <interface name="org.freedesktop.impl.portal.Account">
  <method name="GetUserInformation">
   <arg type="o" name="handle" direction="in"/>
   <arg type="s" name="app_id" direction="in"/>
   <arg type="s" name="window" direction="in"/>
   <arg type="a{sv}" name="options" direction="in"/>
   <arg type="u" name="response" direction="out"/>
   <arg type="a{sv}" name="results" direction="out"/>
  </method>
 </interface>

 <!-- Email -->
 <interface name="org.freedesktop.impl.portal.Email">
  <method name="ComposeEmail">+
   <arg type="o" name="handle" direction="in"/>
   <arg type="s" name="app_id" direction="in"/>
   <arg type="s" name="parent_window" direction="in"/>
   <arg type="a{sv}" name="options" direction="in"/>
   <arg type="u" name="response" direction="out"/>
   <arg type="a{sv}" name="results" direction="out"/>
  </method>
  <property name="version" type="u" access="read"/>
 </interface>

 <!-- FileChooser -->
 <interface name="org.freedesktop.impl.portal.FileChooser">
  <method name="OpenFile">
   <arg name="handle" type="o" direction="in" />
   <arg name="app_id" type="s" direction="in" />
   <arg name="parent_window" type="s" direction="in" />
   <arg name="title" type="s" direction="in" />
   <arg name="options" type="a{sv}" direction="in" />
   <arg name="response" type="u" direction="out" />
   <arg name="results" type="a{sv}" direction="out" />
  </method>
  <method name="SaveFile">
   <arg name="handle" type="o" direction="in" />
   <arg name="app_id" type="s" direction="in" />
   <arg name="parent_window" type="s" direction="in" />
   <arg name="title" type="s" direction="in" />
   <arg name="options" type="a{sv}" direction="in" />
   <arg name="response" type="u" direction="out" />
   <arg name="results" type="a{sv}" direction="out" />
  </method>
  <method name="SaveFiles">
   <arg name="handle" type="o" direction="in" />
   <arg name="app_id" type="s" direction="in" />
   <arg name="parent_window" type="s" direction="in" />
   <arg name="title" type="s" direction="in" />
   <arg name="options" type="a{sv}" direction="in" />
   <arg name="response" type="u" direction="out" />
   <arg name="results" type="a{sv}" direction="out" />
  </method>
 </interface>
</node>