Skip to content

Commit f26d490

Browse files
yetistraveit65
authored andcommitted
Add signals, remove annotation from xml file
1 parent 4362bc3 commit f26d490

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

src/daemon/notificationdaemon.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
<node name="/org/freedesktop/Notifications">
44

55
<interface name="org.freedesktop.Notifications">
6-
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="NotifyDaemon"/>
76
<method name="Notify">
8-
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_notify_handler"/>
9-
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
107
<arg type="s" name="app_name" direction="in" />
118
<arg type="u" name="id" direction="in" />
129
<arg type="s" name="icon" direction="in" />
@@ -19,22 +16,28 @@
1916
</method>
2017

2118
<method name="CloseNotification">
22-
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_close_notification_handler"/>
2319
<arg type="u" name="id" direction="in" />
2420
</method>
2521

2622
<method name="GetCapabilities">
27-
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_get_capabilities"/>
2823
<arg type="as" name="return_caps" direction="out"/>
2924
</method>
3025

3126
<method name="GetServerInformation">
32-
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_get_server_information"/>
3327
<arg type="s" name="return_name" direction="out"/>
3428
<arg type="s" name="return_vendor" direction="out"/>
3529
<arg type="s" name="return_version" direction="out"/>
3630
<arg type="s" name="return_spec_version" direction="out"/>
3731
</method>
3832

33+
<signal name="ActionInvoked">
34+
<arg type="u" name="id" />
35+
<arg type="s" name="action_key" />
36+
</signal>
37+
38+
<signal name="NotificationClosed">
39+
<arg type="u" name="id" />
40+
<arg type="u" name="reason" />
41+
</signal>
3942
</interface>
4043
</node>

0 commit comments

Comments
 (0)