diff options
Diffstat (limited to 'libsowatch/watchplugininterface.h')
-rw-r--r-- | libsowatch/watchplugininterface.h | 7 |
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; }; } |