aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-13 17:16:43 -0500
committerTed Gould <ted@canonical.com>2009-10-13 17:16:43 -0500
commit9fc5dd8c5047e7d04872d223c5ec0124e3aa8946 (patch)
tree60fb133ffcff748c14a734e23e745b3aa010ce99
parente265e46176c6c8633849b3a5d65b7f86bda47318 (diff)
downloadayatana-indicator-application-9fc5dd8c5047e7d04872d223c5ec0124e3aa8946.tar.gz
ayatana-indicator-application-9fc5dd8c5047e7d04872d223c5ec0124e3aa8946.tar.bz2
ayatana-indicator-application-9fc5dd8c5047e7d04872d223c5ec0124e3aa8946.zip
Some dbus y'all!
-rw-r--r--src/notification-item.xml26
-rw-r--r--src/notification-watcher.xml38
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>