summaryrefslogtreecommitdiff
path: root/liveviewwatchlets/liveviewwatchletsplugin.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-07-07 13:50:28 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-07-07 13:50:28 +0200
commitf61dfc6557303a8bba5301927f42e5b2a7ffcac6 (patch)
treefdba31b412015684d46c7a3cb070b8a57ff37ef4 /liveviewwatchlets/liveviewwatchletsplugin.h
parent92475d094cfddf7dd3036f5f1a9d6845a83ee350 (diff)
downloadsowatch-f61dfc6557303a8bba5301927f42e5b2a7ffcac6.tar.gz
sowatch-f61dfc6557303a8bba5301927f42e5b2a7ffcac6.zip
add some notification support to liveview
Diffstat (limited to 'liveviewwatchlets/liveviewwatchletsplugin.h')
-rw-r--r--liveviewwatchlets/liveviewwatchletsplugin.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/liveviewwatchlets/liveviewwatchletsplugin.h b/liveviewwatchlets/liveviewwatchletsplugin.h
new file mode 100644
index 0000000..eae923d
--- /dev/null
+++ b/liveviewwatchlets/liveviewwatchletsplugin.h
@@ -0,0 +1,25 @@
+#ifndef LIVEVIEWWATCHLETSPLUGIN_H
+#define LIVEVIEWWATCHLETSPLUGIN_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class LiveViewWatchletsPlugin : public QObject, public WatchletPluginInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(sowatch::WatchletPluginInterface)
+
+public:
+ explicit LiveViewWatchletsPlugin(QObject *parent = 0);
+ ~LiveViewWatchletsPlugin();
+
+ QStringList watchlets();
+ WatchletInfo describeWatchlet(const QString &id, const QString& watchModel);
+ Watchlet* getWatchlet(const QString& id, ConfigKey *settings, Watch* watch);
+};
+
+}
+
+#endif // LIVEVIEWWATCHLETSPLUGIN_H