summaryrefslogtreecommitdiff
path: root/metawatchwatchlets/metawatchwatchletsplugin.h
blob: a7ba34bd1a592b19b31c84873a050e2b2b4729a5 (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 METAWATCHWATCHLETSPLUGIN_H
#define METAWATCHWATCHLETSPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

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

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

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

}

#endif // NEKOWATCHLETPLUGIN_H