diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-02-01 16:44:26 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-02-01 16:53:20 +0200 |
commit | 4acb982e2d5b82ddfe603414665256323a25ad5e (patch) | |
tree | b137112d00a4340f0cf25b64ebe5926f505c3de2 /interfaces/filechooser.xml | |
download | xdg-desktop-portal-tde-4acb982e2d5b82ddfe603414665256323a25ad5e.tar.gz xdg-desktop-portal-tde-4acb982e2d5b82ddfe603414665256323a25ad5e.zip |
Initial commit
Adds implementation of FileChooser interface
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'interfaces/filechooser.xml')
-rw-r--r-- | interfaces/filechooser.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/interfaces/filechooser.xml b/interfaces/filechooser.xml new file mode 100644 index 0000000..da6bed2 --- /dev/null +++ b/interfaces/filechooser.xml @@ -0,0 +1,32 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/"> + <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 |