summaryrefslogtreecommitdiff
path: root/qorgwatchlet/qorgwatchletplugin.h
blob: dddbce219b2ea3c5f87515c5e92aa1c30a9e2d5f (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 QORGWATCHLETPLUGIN_H
#define QORGWATCHLETPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

class QOrgWatchletPlugin : public QObject, public WatchletPluginInterface
{
	Q_OBJECT
	Q_INTERFACES(sowatch::WatchletPluginInterface)

public:
	explicit QOrgWatchletPlugin(QObject *parent = 0);
	~QOrgWatchletPlugin();

	QStringList watchlets();
	WatchletInfo describeWatchlet(const QString &id);
	Watchlet* getWatchlet(const QString &id, ConfigKey *config, WatchServer *server);
};

}

#endif // QORWATCHLETPLUGIN_H