diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/notification-item.xml | 26 | ||||
-rw-r--r-- | src/notification-watcher.xml | 38 |
2 files changed, 64 insertions, 0 deletions
diff --git a/src/notification-item.xml b/src/notification-item.xml new file mode 100644 index 0000000..f3a4792 --- /dev/null +++ b/src/notification-item.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<node name="/"> + <interface name="org.ayatana.indicator.custom.NotificationItem"> + +<!-- Properties --> + <property name="Id" type="s" access="read" /> + <property name="Category" type="s" access="read" /> + <property name="Status" type="s" access="read" /> + <property name="IconName" type="s" access="read" /> + <property name="AttentionIconName" type="s" access="read" /> + <property name="Menu" type="o" access="read" /> + +<!-- Methods --> + <!-- None currently --> + +<!-- Signals --> + <signal name="NewIcon"> + </signal> + <signal name="NewAttentionIcon"> + </signal> + <signal name="NewStatus"> + <arg type="s" name="status" direction="out" /> + </signal> + + </interface> +</node> diff --git a/src/notification-watcher.xml b/src/notification-watcher.xml new file mode 100644 index 0000000..93acf74 --- /dev/null +++ b/src/notification-watcher.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<node name="/"> + <interface name="org.ayatana.indicator.custom.NotificationWatcher"> + +<!-- Properties --> + <!-- None currently --> + +<!-- Methods --> + <method name="RegisterService"> + <arg type="s" name="service" direction="in" /> + </method> + <method name="RegisteredServices"> + <arg type="as" name="services" direction="out" /> + </method> + <method name="ProtocolVersion"> + <arg type="s" name="version" direction="out" /> + </method> + <method name="RegisterNotificationHost"> + <arg type="s" name="service" direction="in" /> + </method> + <method name="IsNotificationHostRegistered"> + <arg type="b" name="hasHost" direction="out" /> + </method> + +<!-- Signals --> + <signal name="ServiceRegistered"> + <arg type="s" name="service" direction="out" /> + </signal> + <signal name="ServiceUnregistered"> + <arg type="s" name="service" direction="out" /> + </signal> + <signal name="NotificationHostRegistered"> + </signal> + <signal name="NotificationHostUnegistered"> + </signal> + + </interface> +</node> |