summaryrefslogtreecommitdiff
path: root/libsowatch/watchplugininterface.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/watchplugininterface.h
parent1375a26b135547fdd8e07db62acf8116a8482560 (diff)
downloadsowatch-93f3acd128d6b349efe14e97b12c2703ca4f81f3.tar.gz
sowatch-93f3acd128d6b349efe14e97b12c2703ca4f81f3.zip
Moved the core framework to GConf & D-Bus
Diffstat (limited to 'libsowatch/watchplugininterface.h')
-rw-r--r--libsowatch/watchplugininterface.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libsowatch/watchplugininterface.h b/libsowatch/watchplugininterface.h
index c027c47..804f7f5 100644
--- a/libsowatch/watchplugininterface.h
+++ b/libsowatch/watchplugininterface.h
@@ -2,7 +2,7 @@
#define SOWATCH_WATCHPLUGININTERFACE_H
#include <QtPlugin>
-#include <QtCore/QSettings>
+#include <QtCore/QVariantMap>
#include <QtCore/QStringList>
#include "sowatch_global.h"
@@ -10,6 +10,8 @@ namespace sowatch
{
class Watch;
+class WatchScanner;
+class ConfigKey;
class SOWATCH_EXPORT WatchPluginInterface
{
@@ -17,7 +19,8 @@ public:
virtual ~WatchPluginInterface();
virtual QStringList drivers() = 0;
- virtual Watch* getWatch(const QString& driver, QSettings& settings, QObject *parent = 0) = 0;
+ virtual WatchScanner* getScanner(QObject *parent = 0) = 0;
+ virtual Watch* getWatch(const QString& driver, ConfigKey* settings, QObject *parent = 0) = 0;
};
}