summaryrefslogtreecommitdiff
path: root/libsowatch/watchscanner.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-04-26 01:36:20 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-04-26 01:36:20 +0200
commit93f3acd128d6b349efe14e97b12c2703ca4f81f3 (patch)
tree937f3de2307444f0c28d6d21f26f1580e789b074 /libsowatch/watchscanner.h
parent1375a26b135547fdd8e07db62acf8116a8482560 (diff)
downloadsowatch-93f3acd128d6b349efe14e97b12c2703ca4f81f3.tar.gz
sowatch-93f3acd128d6b349efe14e97b12c2703ca4f81f3.zip
Moved the core framework to GConf & D-Bus
Diffstat (limited to 'libsowatch/watchscanner.h')
-rw-r--r--libsowatch/watchscanner.h32
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