diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 11:28:17 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 11:28:17 +0100 |
commit | 0424a2802aec3600774ba9347c49312bb09b8cfe (patch) | |
tree | ea2e3d9fc0634e235b997b1b6054898a9478f9b2 /opentrack/tracker.h | |
parent | 5a2ddaf39cf5ad86cf43d8a01f51989b5e3afa49 (diff) |
all: adjust options.hpp move to compat
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r-- | opentrack/tracker.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h index 890660e1..e26c3f7a 100644 --- a/opentrack/tracker.h +++ b/opentrack/tracker.h @@ -18,7 +18,7 @@ #include "spline-widget/functionconfig.h" #include "main-settings.hpp" -#include "options.hpp" +#include "opentrack-compat/options.hpp" #include <QMutex> #include <QThread> @@ -40,7 +40,13 @@ public: inline double operator()(int i) const { return axes[i]; } }; -class Tracker : private QThread { +#ifdef BUILD_api +# include "opentrack-compat/export.hpp" +#else +# include "opentrack-compat/import.hpp" +#endif + +class OPENTRACK_EXPORT Tracker : private QThread { Q_OBJECT private: QMutex mtx; |