aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-08 16:04:58 -0600
committerTed Gould <ted@gould.cx>2010-12-08 16:04:58 -0600
commit2706502837db2f630ca54b5371d3fa01cb14e34e (patch)
tree2eca17371e7cb532c230fe62dd3fef31ba2402f5 /src
parent86419fbda78c03528f96fcb17602276b2d2cfc3f (diff)
parent67140a70be29d91ccfca36095b6d393acfbd901a (diff)
downloadlibayatana-appindicator-2706502837db2f630ca54b5371d3fa01cb14e34e.tar.gz
libayatana-appindicator-2706502837db2f630ca54b5371d3fa01cb14e34e.tar.bz2
libayatana-appindicator-2706502837db2f630ca54b5371d3fa01cb14e34e.zip
Intial release.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am11
-rw-r--r--src/gen-notification-item.xml.c41
-rw-r--r--src/gen-notification-item.xml.h1
-rw-r--r--src/gen-notification-watcher.xml.c39
-rw-r--r--src/gen-notification-watcher.xml.h1
5 files changed, 82 insertions, 11 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1bc1e91..a5ea29b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -91,17 +91,6 @@ libappindicator3_la_LDFLAGS = $(libappindicator_la_LDFLAGS)
libappindicator3_la_CFLAGS = $(libappindicator_la_CFLAGS)
libappindicator3_la_LIBADD = $(libappindicator_la_LIBADD)
-# We duplicate these here because Automake won't let us use $(VER) on the left hand side.
-# Since we carefully use $(VER) in the right hand side above, we can assign the same values.
-# Only one version of the library is every compiled at the same time, so it is safe to reuse
-# the right hand sides like this.
-libappindicator3includedir = $(libappindicatorincludedir)
-libappindicator3include_HEADERS = $(libappindicatorinclude_HEADERS)
-libappindicator3_la_SOURCES = $(libappindicator_la_SOURCES)
-libappindicator3_la_LDFLAGS = $(libappindicator_la_LDFLAGS)
-libappindicator3_la_CFLAGS = $(libappindicator_la_CFLAGS)
-libappindicator3_la_LIBADD = $(libappindicator_la_LIBADD)
-
##################################
# DBus Specs
##################################
diff --git a/src/gen-notification-item.xml.c b/src/gen-notification-item.xml.c
new file mode 100644
index 0000000..5243f9e
--- /dev/null
+++ b/src/gen-notification-item.xml.c
@@ -0,0 +1,41 @@
+const char * _notification_item =
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<node name=\"/StatusNotifierItem\">\n"
+" <interface name=\"org.kde.StatusNotifierItem\">\n"
+"\n"
+"<!-- Properties -->\n"
+" <property name=\"Id\" type=\"s\" access=\"read\" />\n"
+" <property name=\"Category\" type=\"s\" access=\"read\" />\n"
+" <property name=\"Status\" type=\"s\" access=\"read\" />\n"
+" <property name=\"IconName\" type=\"s\" access=\"read\" />\n"
+" <property name=\"AttentionIconName\" type=\"s\" access=\"read\" />\n"
+" <!-- An additional path to add to the theme search path\n"
+" to find the icons specified above. -->\n"
+" <property name=\"IconThemePath\" type=\"s\" access=\"read\" />\n"
+" <property name=\"Menu\" type=\"o\" access=\"read\" />\n"
+" <property name=\"XAyatanaLabel\" type=\"s\" access=\"read\" />\n"
+" <property name=\"XAyatanaLabelGuide\" type=\"s\" access=\"read\" />\n"
+" <property name=\"XAyatanaOrderingIndex\" type=\"u\" access=\"read\" />\n"
+"\n"
+"<!-- Methods -->\n"
+" <!-- None currently -->\n"
+"\n"
+"<!-- Signals -->\n"
+" <signal name=\"NewIcon\">\n"
+" </signal>\n"
+" <signal name=\"NewIconThemePath\">\n"
+" <arg type=\"s\" name=\"icon_theme_path\" direction=\"out\" />\n"
+" </signal>\n"
+" <signal name=\"NewAttentionIcon\">\n"
+" </signal>\n"
+" <signal name=\"NewStatus\">\n"
+" <arg type=\"s\" name=\"status\" direction=\"out\" />\n"
+" </signal>\n"
+" <signal name=\"XAyatanaNewLabel\">\n"
+" <arg type=\"s\" name=\"label\" direction=\"out\" />\n"
+" <arg type=\"s\" name=\"guide\" direction=\"out\" />\n"
+" </signal>\n"
+"\n"
+" </interface>\n"
+"</node>\n"
+;
diff --git a/src/gen-notification-item.xml.h b/src/gen-notification-item.xml.h
new file mode 100644
index 0000000..f62b42e
--- /dev/null
+++ b/src/gen-notification-item.xml.h
@@ -0,0 +1 @@
+extern const char * _notification_item;
diff --git a/src/gen-notification-watcher.xml.c b/src/gen-notification-watcher.xml.c
new file mode 100644
index 0000000..605195c
--- /dev/null
+++ b/src/gen-notification-watcher.xml.c
@@ -0,0 +1,39 @@
+const char * _notification_watcher =
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<node name=\"/StatusNotifierWatcher\">\n"
+" <interface name=\"org.kde.StatusNotifierWatcher\">\n"
+"\n"
+"<!-- Properties -->\n"
+" <property name=\"ProtocolVersion\" type=\"i\" access=\"read\" />\n"
+" <property name=\"IsStatusNotifierHostRegistered\" type=\"b\" access=\"read\" />\n"
+" <property name=\"RegisteredStatusNotifierItems\" type=\"as\" access=\"read\" />\n"
+"\n"
+"<!-- Methods -->\n"
+" <method name=\"RegisterStatusNotifierItem\">\n"
+" <annotation name=\"org.freedesktop.DBus.GLib.Async\" value=\"true\" />\n"
+" <arg type=\"s\" name=\"service\" direction=\"in\" />\n"
+" </method>\n"
+" <method name=\"RegisterStatusNotifierHost\">\n"
+" <arg type=\"s\" name=\"service\" direction=\"in\" />\n"
+" </method>\n"
+" <method name=\"XAyatanaRegisterNotificationApprover\">\n"
+" <annotation name=\"org.freedesktop.DBus.GLib.Async\" value=\"true\" />\n"
+" <!-- The path where to find the approver interface -->\n"
+" <arg type=\"o\" name=\"path\" direction=\"in\" />\n"
+" <!-- List of categories to approve, none represents all -->\n"
+" <arg type=\"as\" name=\"categories\" direction=\"in\" />\n"
+" </method>\n"
+"\n"
+"<!-- Signals -->\n"
+" <signal name=\"StatusNotifierItemRegistered\">\n"
+" <arg type=\"s\" name=\"service\" direction=\"out\" />\n"
+" </signal>\n"
+" <signal name=\"StatusNotifierItemUnregistered\">\n"
+" <arg type=\"s\" name=\"service\" direction=\"out\" />\n"
+" </signal>\n"
+" <signal name=\"StatusNotifierHostRegistered\">\n"
+" </signal>\n"
+"\n"
+" </interface>\n"
+"</node>\n"
+;
diff --git a/src/gen-notification-watcher.xml.h b/src/gen-notification-watcher.xml.h
new file mode 100644
index 0000000..cf9affa
--- /dev/null
+++ b/src/gen-notification-watcher.xml.h
@@ -0,0 +1 @@
+extern const char * _notification_watcher;