summaryrefslogtreecommitdiffstats
path: root/interfaces/interfaces.xml
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-07-08 01:04:09 +0300
committerMavridis Philippe <[email protected]>2024-07-08 01:05:01 +0300
commit87769ed51d8087ddc4a02705f39fe4f21431b66f (patch)
treecf3d12a293a24868641d8c086206da87e3c57ed3 /interfaces/interfaces.xml
parentc7b0c7b88c1bebb038bd70f4995fc35771fa83c0 (diff)
downloadxdg-desktop-portal-tde-87769ed51d8087ddc4a02705f39fe4f21431b66f.tar.gz
xdg-desktop-portal-tde-87769ed51d8087ddc4a02705f39fe4f21431b66f.zip
Added Email interface, minor refactoring
Signed-off-by: Mavridis Philippe <[email protected]>
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