diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-03 21:15:59 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-03 21:15:59 +0200 |
commit | 7897ec1596a4348cd926eff7c1d4f03616ed535c (patch) | |
tree | c21374cfcf613198dd52e39e89be982a10263fc8 /qorgwatchlet/qorgwatchletplugin.h | |
parent | 9e061170b3834845910749c55eda63f03d982bbf (diff) | |
download | sowatch-7897ec1596a4348cd926eff7c1d4f03616ed535c.tar.gz sowatch-7897ec1596a4348cd926eff7c1d4f03616ed535c.zip |
preparing new qorgwatchlet
Diffstat (limited to 'qorgwatchlet/qorgwatchletplugin.h')
-rw-r--r-- | qorgwatchlet/qorgwatchletplugin.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qorgwatchlet/qorgwatchletplugin.h b/qorgwatchlet/qorgwatchletplugin.h new file mode 100644 index 0000000..01cb83e --- /dev/null +++ b/qorgwatchlet/qorgwatchletplugin.h @@ -0,0 +1,25 @@ +#ifndef QMSGWATCHLETPLUGIN_H +#define QMSGWATCHLETPLUGIN_H + +#include <sowatch.h> + +namespace sowatch +{ + +class QMsgWatchletPlugin : public QObject, public WatchletPluginInterface +{ + Q_OBJECT + Q_INTERFACES(sowatch::WatchletPluginInterface) + +public: + explicit QMsgWatchletPlugin(QObject *parent = 0); + ~QMsgWatchletPlugin(); + + QStringList watchlets(); + WatchletInfo describeWatchlet(const QString &id); + Watchlet* getWatchlet(const QString &id, ConfigKey *config, WatchServer *server); +}; + +} + +#endif // QMSGWATCHLETPLUGIN_H |