diff options
Diffstat (limited to 'libsowatch/watchscanner.h')
-rw-r--r-- | libsowatch/watchscanner.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libsowatch/watchscanner.h b/libsowatch/watchscanner.h new file mode 100644 index 0000000..c74761e --- /dev/null +++ b/libsowatch/watchscanner.h @@ -0,0 +1,32 @@ +#ifndef SOWATCH_WATCHSCANNER_H +#define SOWATCH_WATCHSCANNER_H + +#include <QtCore/QObject> +#include <QtCore/QVariant> + +namespace sowatch +{ + + +class WatchScanner : public QObject +{ + Q_OBJECT + +protected: + explicit WatchScanner(QObject *parent = 0); + +public: + virtual ~WatchScanner(); + +signals: + void started(); + void finished(); + void watchFound(const QVariantMap& info); + +public slots: + virtual void start() = 0; +}; + +} + +#endif // SOWATCH_WATCHSCANNER_H |