diff options
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 |