summaryrefslogtreecommitdiff
path: root/libsowatch/allwatchscanner.h
blob: 561c6a86a32efa171ba9606dc9fbb1dfb6fee978 (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
28
29
#ifndef SOWATCH_ALLWATCHSCANNER_H
#define SOWATCH_ALLWATCHSCANNER_H

#include <QtCore/QObject>
#include <QtCore/QList>

#include "watchscanner.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