diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-01-30 19:54:44 +0100 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-01-30 19:54:44 +0100 |
commit | 1375a26b135547fdd8e07db62acf8116a8482560 (patch) | |
tree | 96cb70c28d7c3cb05947caa39dde9d360e4903dc /qmsgwatchlet/qmsgwatchletplugin.h | |
parent | c916a1e3cb9440737a9414d6f28505b67209e3cb (diff) | |
download | sowatch-1375a26b135547fdd8e07db62acf8116a8482560.tar.gz sowatch-1375a26b135547fdd8e07db62acf8116a8482560.zip |
add a qt mobility messaging based watchlet
Diffstat (limited to 'qmsgwatchlet/qmsgwatchletplugin.h')
-rw-r--r-- | qmsgwatchlet/qmsgwatchletplugin.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qmsgwatchlet/qmsgwatchletplugin.h b/qmsgwatchlet/qmsgwatchletplugin.h new file mode 100644 index 0000000..4d08e94 --- /dev/null +++ b/qmsgwatchlet/qmsgwatchletplugin.h @@ -0,0 +1,24 @@ +#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(); + Watchlet* getWatchlet(const QString& driver, QSettings& settings, WatchServer* server); +}; + +} + +#endif // QMSGWATCHLETPLUGIN_H |