summaryrefslogtreecommitdiff
path: root/metawatch/metawatchplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'metawatch/metawatchplugin.h')
-rw-r--r--metawatch/metawatchplugin.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/metawatch/metawatchplugin.h b/metawatch/metawatchplugin.h
new file mode 100644
index 0000000..d0e7c91
--- /dev/null
+++ b/metawatch/metawatchplugin.h
@@ -0,0 +1,22 @@
+#ifndef METAWATCHPLUGIN_H
+#define METAWATCHPLUGIN_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class MetaWatchPlugin : public QObject, public WatchPluginInterface {
+ Q_OBJECT
+ Q_INTERFACES(WatchPluginInterface)
+
+public:
+ ~MetaWatchPlugin();
+
+ virtual QStringList drivers();
+ virtual Watch* getWatch(const QString& driver, const QString& connId, QObject *parent = 0);
+};
+
+}
+
+#endif // METAWATCHPLUGIN_H