summaryrefslogtreecommitdiff
path: root/libsowatch/watchplugininterface.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-09-18 04:26:20 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-09-18 04:26:20 +0200
commitc42d5abff1f5f51facc169dd593725d819c4c868 (patch)
tree9aa8bdef88bf89561c7726948541a1ba3906b81e /libsowatch/watchplugininterface.h
parentf225345d4de3b198a557fe3566f9630163e76d51 (diff)
downloadsowatch-c42d5abff1f5f51facc169dd593725d819c4c868.tar.gz
sowatch-c42d5abff1f5f51facc169dd593725d819c4c868.zip
separation into lib and plugins complete
Diffstat (limited to 'libsowatch/watchplugininterface.h')
-rw-r--r--libsowatch/watchplugininterface.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libsowatch/watchplugininterface.h b/libsowatch/watchplugininterface.h
index 6b32385..e360dea 100644
--- a/libsowatch/watchplugininterface.h
+++ b/libsowatch/watchplugininterface.h
@@ -1,21 +1,23 @@
#ifndef WATCHPLUGININTERFACE_H
#define WATCHPLUGININTERFACE_H
-#include <QtCore/QObject>
+#include <QtPlugin>
+#include <QtCore/QSettings>
#include <QtCore/QStringList>
+#include "sowatch_global.h"
namespace sowatch
{
class Watch;
-class WatchPluginInterface
+class SOWATCH_EXPORT WatchPluginInterface
{
public:
virtual ~WatchPluginInterface();
virtual QStringList drivers() = 0;
- virtual Watch* getWatch(const QString& driver, const QString& connId, QObject *parent = 0) = 0;
+ virtual Watch* getWatch(const QString& driver, QSettings& settings, QObject *parent = 0) = 0;
};
}