summaryrefslogtreecommitdiff
path: root/src/org.freedesktop.Notifications.xml
diff options
context:
space:
mode:
authorJavier S. Pedro <dev.git@javispedro.com>2014-09-14 14:11:26 +0200
committerJavier S. Pedro <dev.git@javispedro.com>2014-09-14 14:11:26 +0200
commitb9b1829dbc50534190c8b81f91ee477af6971834 (patch)
tree360f09061f43a247a5afdc2c83df2b9a03d86a4a /src/org.freedesktop.Notifications.xml
parent85fb48bc51fed06a50b6178727fdf9e96aea4fc4 (diff)
downloadsalmeta-b9b1829dbc50534190c8b81f91ee477af6971834.tar.gz
salmeta-b9b1829dbc50534190c8b81f91ee477af6971834.zip
addign watch properties, starting notification work
Diffstat (limited to 'src/org.freedesktop.Notifications.xml')
-rw-r--r--src/org.freedesktop.Notifications.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/org.freedesktop.Notifications.xml b/src/org.freedesktop.Notifications.xml
new file mode 100644
index 0000000..89947c9
--- /dev/null
+++ b/src/org.freedesktop.Notifications.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>
+ <interface name="org.freedesktop.Notifications">
+ <!-- Desktop Notification Specification interface -->
+ <method name="GetCapabilities">
+ <arg name="capabilities" type="as" direction="out"/>
+ </method>
+ <method name="Notify">
+ <arg name="app_name" type="s" direction="in"/>
+ <arg name="replaces_id" type="u" direction="in"/>
+ <arg name="app_icon" type="s" direction="in"/>
+ <arg name="summary" type="s" direction="in"/>
+ <arg name="body" type="s" direction="in"/>
+ <arg name="actions" type="as" direction="in"/>
+ <arg name="hints" type="a{sv}" direction="in"/>
+ <arg name="expire_timeout" type="i" direction="in"/>
+ <arg name="id" type="u" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.In6" value="QVariantHash"/>
+ </method>
+ <method name="CloseNotification">
+ <arg name="id" type="u" direction="in"/>
+ </method>
+ <method name="GetServerInformation">
+ <arg type="s" direction="out"/>
+ <arg name="name" type="s" direction="out"/>
+ <arg name="vendor" type="s" direction="out"/>
+ <arg name="version" type="s" direction="out"/>
+ </method>
+ <signal name="NotificationClosed">
+ <arg name="id" type="u"/>
+ <arg name="reason" type="u"/>
+ </signal>
+ <signal name="ActionInvoked">
+ <arg name="id" type="u"/>
+ <arg name="action_key" type="s"/>
+ </signal>
+
+ <!-- Nemo extensions -->
+ <method name="GetNotifications">
+ <arg name="app_name" type="s" direction="in"/>
+ <arg name="notifications" type="a(sussasa{sv}i)" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList &lt; Notification &gt; "/>
+ </method>
+ </interface>
+</node>
+