aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/wgt/config.xml.in
diff options
context:
space:
mode:
authorYordan Dimitrov <y.dimitrov.14@gmail.com>2018-08-15 15:54:37 +0300
committerYordan Dimitrov <y.dimitrov.14@gmail.com>2018-08-17 11:28:31 +0300
commit4c13256dce57776b6ce5ae5e2ce4fff52f6e2ab8 (patch)
tree07b12f7562ece1f336e3cbcd9ac59cb3bfbe7db5 /conf.d/wgt/config.xml.in
parent183cb22a76b3c1d0d77757512009fda8269ff3d6 (diff)
Importing agl-service-taskmanager code
The service queries /proc for system statistics data and collects data for all processes currently running on the system. The data for each consists of process name, process ID, user, system CPU usage, user CPU usage, memory and state. The data is then converted to JSON and sent to the requesting app. v1 - removed trailing whitespaces - added description in the README file - removed URL from config.cmake v2 - added project URL to config.cmake Change-Id: I7670c239191ee9b7333d5a383f1b2fcf6bc774c1 Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
Diffstat (limited to 'conf.d/wgt/config.xml.in')
-rw-r--r--conf.d/wgt/config.xml.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in
new file mode 100644
index 0000000..dca8bd7
--- /dev/null
+++ b/conf.d/wgt/config.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" id="@PROJECT_NAME@" version="@PROJECT_VERSION@">
+ <name>@PROJECT_NAME@</name>
+ <icon src="@PROJECT_ICON@"/>
+ <content src="@WIDGET_ENTRY_POINT@" type="@WIDGET_TYPE@"/>
+ <description>@PROJECT_DESCRIPTION@</description>
+ <author>@PROJECT_AUTHOR@ &lt;@PROJECT_AUTHOR_MAIL@&gt;</author>
+ <license>@PROJECT_LICENSE@</license>
+
+ <feature name="urn:AGL:widget:required-permission">
+ <param name="urn:AGL:permission::public:hidden" value="required" />
+ <param name="urn:AGL:permission::system:run-by-default" value="required" />
+ <param name="urn:AGL:permission::public:no-htdocs" value="required" />
+ </feature>
+
+ <feature name="urn:AGL:widget:provided-api">
+ <param name="taskmanager" value="ws" />
+ </feature>
+
+ <feature name="urn:AGL:widget:required-api">
+ <param name="@WIDGET_ENTRY_POINT@" value="local" />
+ </feature>
+</widget>