summaryrefslogtreecommitdiff
path: root/liveviewwatchlets/liveviewwatchletsplugin.h
blob: eae923dc9a66a9a9a201727b8861b4f23fbf8325 (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 LIVEVIEWWATCHLETSPLUGIN_H
#define LIVEVIEWWATCHLETSPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

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

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

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

}

#endif // LIVEVIEWWATCHLETSPLUGIN_H