summaryrefslogtreecommitdiff
path: root/liveview/liveviewplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'liveview/liveviewplugin.h')
-rw-r--r--liveview/liveviewplugin.h25
1 files changed, 25 insertions, 0 deletions
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 <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