summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchletplugin.h
blob: 6bc3e859a264abcc518c0928a6be5e95a170276d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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, const QString &watchModel);
	Watchlet* getWatchlet(const QString &id, ConfigKey *config, Watch *watch);
};

}

#endif // QMSGWATCHLETPLUGIN_H