diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 11 | ||||
-rw-r--r-- | src/gen-notification-item.xml.c | 41 | ||||
-rw-r--r-- | src/gen-notification-item.xml.h | 1 | ||||
-rw-r--r-- | src/gen-notification-watcher.xml.c | 39 | ||||
-rw-r--r-- | src/gen-notification-watcher.xml.h | 1 |
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; |