summaryrefslogtreecommitdiffstats
path: root/src/daemon/notificationdaemon.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/notificationdaemon.xml')
-rw-r--r--src/daemon/notificationdaemon.xml35
1 files changed, 22 insertions, 13 deletions
diff --git a/src/daemon/notificationdaemon.xml b/src/daemon/notificationdaemon.xml
index 81c1674..0979b1c 100644
--- a/src/daemon/notificationdaemon.xml
+++ b/src/daemon/notificationdaemon.xml
@@ -1,12 +1,19 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
+https://specifications.freedesktop.org/notification-spec/latest/ar01s09.html
+ -->
<node name="/org/freedesktop/Notifications">
<interface name="org.freedesktop.Notifications">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="NotifyDaemon"/>
+
+ <method name="GetCapabilities">
+ <arg type="as" name="return_caps" direction="out"/>
+ </method>
+
<method name="Notify">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_notify_handler"/>
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg type="s" name="app_name" direction="in" />
<arg type="u" name="id" direction="in" />
<arg type="s" name="icon" direction="in" />
@@ -19,26 +26,28 @@
</method>
<method name="CloseNotification">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_close_notification_handler"/>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
<arg type="u" name="id" direction="in" />
</method>
- <method name="GetCapabilities">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_get_capabilities"/>
- <arg type="as" name="return_caps" direction="out"/>
- </method>
-
<method name="ReloadSettings">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_reload_settings"/>
</method>
<method name="GetServerInformation">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_get_server_information"/>
<arg type="s" name="return_name" direction="out"/>
<arg type="s" name="return_vendor" direction="out"/>
<arg type="s" name="return_version" direction="out"/>
<arg type="s" name="return_spec_version" direction="out"/>
</method>
-
+
+ <signal name="NotificationClosed">
+ <arg name="id" type="u" direction="out"/>
+ <arg name="reason" type="u" direction="out"/>
+ </signal>
+
+ <signal name="ActionInvoked">
+ <arg name="id" type="u" direction="out"/>
+ <arg name="action_key" type="s" direction="out"/>
+ </signal>
</interface>
</node>