From ccd19d2b7ee4184503ea46b98333b27a5613190e Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Wed, 8 May 2013 18:04:31 +0200 Subject: big change: a new abstract BluetoothWatch class --- liveview/liveviewplugin.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 liveview/liveviewplugin.h (limited to 'liveview/liveviewplugin.h') diff --git a/liveview/liveviewplugin.h b/liveview/liveviewplugin.h new file mode 100644 index 0000000..eb55249 --- /dev/null +++ b/liveview/liveviewplugin.h @@ -0,0 +1,25 @@ +#ifndef LIVEVIEWPLUGIN_H +#define LIVEVIEWPLUGIN_H + +#include + +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 -- cgit v1.2.3