diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-07-07 13:50:28 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-07-07 13:50:28 +0200 |
commit | f61dfc6557303a8bba5301927f42e5b2a7ffcac6 (patch) | |
tree | fdba31b412015684d46c7a3cb070b8a57ff37ef4 /liveviewwatchlets/liveviewwatchletsplugin.h | |
parent | 92475d094cfddf7dd3036f5f1a9d6845a83ee350 (diff) | |
download | sowatch-f61dfc6557303a8bba5301927f42e5b2a7ffcac6.tar.gz sowatch-f61dfc6557303a8bba5301927f42e5b2a7ffcac6.zip |
add some notification support to liveview
Diffstat (limited to 'liveviewwatchlets/liveviewwatchletsplugin.h')
-rw-r--r-- | liveviewwatchlets/liveviewwatchletsplugin.h | 25 |
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 |