summaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces')
-rw-r--r--interfaces/CMakeLists.txt2
-rw-r--r--interfaces/interfaces.xml12
2 files changed, 13 insertions, 1 deletions
diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt
index d8e44c0..f4bb8e2 100644
--- a/interfaces/CMakeLists.txt
+++ b/interfaces/CMakeLists.txt
@@ -15,7 +15,7 @@ link_directories(
${DBUS_TQT_LIBRARY_DIRS}
)
-set(interfaces filechooser email)
+set(interfaces account email filechooser)
set(interface_HDRS introspectableInterface.h desktopNode.h dbusbaseNode.h)
set(interface_SRCS introspectableInterface.cpp desktopNode.cpp dbusbaseNode.cpp)
diff --git a/interfaces/interfaces.xml b/interfaces/interfaces.xml
index 003cdbd..c6f5357 100644
--- a/interfaces/interfaces.xml
+++ b/interfaces/interfaces.xml
@@ -1,5 +1,17 @@
<!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">+