summaryrefslogtreecommitdiffstats
path: root/interfaces/interfaces.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/interfaces.xml')
-rw-r--r--interfaces/interfaces.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/interfaces/interfaces.xml b/interfaces/interfaces.xml
new file mode 100644
index 0000000..003cdbd
--- /dev/null
+++ b/interfaces/interfaces.xml
@@ -0,0 +1,46 @@
+<!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">
+ <!-- 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> \ No newline at end of file