summaryrefslogtreecommitdiff
path: root/nekowatchlet/nekowatchletplugin.h
blob: f7f1bdfe1da6bae0a18d89ad29e552de981f6e8f (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 NEKOWATCHLETPLUGIN_H
#define NEKOWATCHLETPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

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

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

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

}

#endif // NEKOWATCHLETPLUGIN_H