summaryrefslogtreecommitdiff
path: root/liveview/liveviewplugin.h
blob: eb5524988bafd8c8c36fec665d139e42c9862472 (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 LIVEVIEWPLUGIN_H
#define LIVEVIEWPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

class LiveViewPlugin : public QObject, public WatchPluginInterface {
	Q_OBJECT
	Q_INTERFACES(sowatch::WatchPluginInterface)

public:
	LiveViewPlugin();
	~LiveViewPlugin();

	QStringList drivers();
	WatchScanner* getScanner(QObject *parent);
	QUrl getConfigQmlUrl(const QString &driver);
	Watch* getWatch(const QString& driver, ConfigKey *settings, QObject *parent);
};

}

#endif // LIVEVIEWPLUGIN_H