From 1375a26b135547fdd8e07db62acf8116a8482560 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 30 Jan 2012 19:54:44 +0100 Subject: add a qt mobility messaging based watchlet --- qmsgwatchlet/qmsgwatchletplugin.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 qmsgwatchlet/qmsgwatchletplugin.h (limited to 'qmsgwatchlet/qmsgwatchletplugin.h') 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 + +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 -- cgit v1.2.3