summaryrefslogtreecommitdiff
path: root/metawatch/metawatchplugin.h
blob: 964aa04e4abadd26038dc9db7651528a55a40290 (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
#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();

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

private:
	static bool fontsLoaded;
};

}

#endif // METAWATCHPLUGIN_H