1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Fixed dll export related issue in uavobjectutil/uavobjecthelper.h, this bug only affected windows.

This commit is contained in:
Fredrik Arvidsson 2014-04-01 17:07:03 +02:00
parent 93ce3a1e54
commit da5d5aa977

View File

@ -33,9 +33,10 @@
#include <QMutex> #include <QMutex>
#include <QMutexLocker> #include <QMutexLocker>
#include "uavobjectutil_global.h"
#include "uavobject.h" #include "uavobject.h"
class UAVOBJECTS_EXPORT AbstractUAVObjectHelper : public QObject { class UAVOBJECTUTIL_EXPORT AbstractUAVObjectHelper : public QObject {
Q_OBJECT Q_OBJECT
public: public:
explicit AbstractUAVObjectHelper(QObject *parent = 0); explicit AbstractUAVObjectHelper(QObject *parent = 0);
@ -58,7 +59,7 @@ private:
bool m_transactionCompleted; bool m_transactionCompleted;
}; };
class UAVOBJECTS_EXPORT UAVObjectUpdaterHelper : public AbstractUAVObjectHelper { class UAVOBJECTUTIL_EXPORT UAVObjectUpdaterHelper : public AbstractUAVObjectHelper {
Q_OBJECT Q_OBJECT
public: public:
explicit UAVObjectUpdaterHelper(QObject *parent = 0); explicit UAVObjectUpdaterHelper(QObject *parent = 0);
@ -68,7 +69,7 @@ protected:
virtual void doObjectAndWaitImpl(); virtual void doObjectAndWaitImpl();
}; };
class UAVOBJECTS_EXPORT UAVObjectRequestHelper : public AbstractUAVObjectHelper { class UAVOBJECTUTIL_EXPORT UAVObjectRequestHelper : public AbstractUAVObjectHelper {
Q_OBJECT Q_OBJECT
public: public:
explicit UAVObjectRequestHelper(QObject *parent = 0); explicit UAVObjectRequestHelper(QObject *parent = 0);