diff options
author | alex <alex.blasche@nokia.com> | 2011-10-17 15:16:31 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-17 08:46:14 +0200 |
commit | a3ee9bc23ead3ca88cb6787ca7add085d1d8ffcc (patch) | |
tree | bf58be33ffe5f7b18c4c20b0fec088913f7460a3 /src/sensors/qsensorplugin.h | |
parent | 4cb9338c54fc68477c6597df2d36616951a3930d (diff) |
First step of removal of Q_SENSORS_EXPXORT macro from qglobal.h
Each module handles its own exports. We need to change the
QtSensors version, remove the qglobal.h define and then add it back
under the old name in QtSensors.
Change-Id: I4183b7fcfc46469745c11c373d3122f02d64ccc7
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/sensors/qsensorplugin.h')
-rw-r--r-- | src/sensors/qsensorplugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sensors/qsensorplugin.h b/src/sensors/qsensorplugin.h index 9ceb4041..9e828280 100644 --- a/src/sensors/qsensorplugin.h +++ b/src/sensors/qsensorplugin.h @@ -42,13 +42,15 @@ #ifndef QSENSORPLUGIN_H #define QSENSORPLUGIN_H +#include <QtSensors/qsensorsglobal.h> + #include <QtCore/qstringlist.h> #include <QtCore/qplugin.h> #include <QtCore/qfactoryinterface.h> QT_BEGIN_NAMESPACE -class Q_SENSORS_EXPORT QSensorPluginInterface +class Q_SENSORS_EXPORT_TEMP QSensorPluginInterface { public: virtual void registerSensors() = 0; @@ -56,7 +58,7 @@ protected: ~QSensorPluginInterface() {} }; -class Q_SENSORS_EXPORT QSensorChangesInterface +class Q_SENSORS_EXPORT_TEMP QSensorChangesInterface { public: virtual void sensorsChanged() = 0; |