summaryrefslogtreecommitdiff
path: root/metawatch/metawatchplugin.h
blob: 5b729f209c779da6c5404e75f195c85084beca44 (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
26
27
28
#ifndef METAWATCHPLUGIN_H
#define METAWATCHPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

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

public:
	MetaWatchPlugin();
	~MetaWatchPlugin();

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

private:
	static bool fontsLoaded;
};

}

#endif // METAWATCHPLUGIN_H