summaryrefslogtreecommitdiff
path: root/libsowatch/allwatchscanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/allwatchscanner.h')
-rw-r--r--libsowatch/allwatchscanner.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libsowatch/allwatchscanner.h b/libsowatch/allwatchscanner.h
new file mode 100644
index 0000000..ac0baae
--- /dev/null
+++ b/libsowatch/allwatchscanner.h
@@ -0,0 +1,29 @@
+#ifndef SOWATCH_ALLWATCHSCANNER_H
+#define SOWATCH_ALLWATCHSCANNER_H
+
+#include <QtCore/QObject>
+#include <QtCore/QList>
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class AllWatchScanner : public WatchScanner
+{
+ Q_OBJECT
+public:
+ explicit AllWatchScanner(QObject *parent = 0);
+ void start();
+
+private:
+ QList<WatchScanner*> _scanners;
+ int _finishedCount;
+
+private slots:
+ void handleFinished();
+};
+
+}
+
+#endif // SOWATCH_ALLWATCHSCANNER_H