summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-01 11:28:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-01 11:28:17 +0100
commit0424a2802aec3600774ba9347c49312bb09b8cfe (patch)
treeea2e3d9fc0634e235b997b1b6054898a9478f9b2 /opentrack/shortcuts.h
parent5a2ddaf39cf5ad86cf43d8a01f51989b5e3afa49 (diff)
all: adjust options.hpp move to compat
Diffstat (limited to 'opentrack/shortcuts.h')
-rw-r--r--opentrack/shortcuts.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h
index 63d91829..03adc1ab 100644
--- a/opentrack/shortcuts.h
+++ b/opentrack/shortcuts.h
@@ -17,9 +17,15 @@
#include <QSettings>
#include <QMutex>
+#ifdef BUILD_api
+# include "opentrack-compat/export.hpp"
+#else
+# include "opentrack-compat/import.hpp"
+#endif
+
#include "qxt-mini/QxtGlobalShortcut"
#include "opentrack/plugin-support.hpp"
-#include "opentrack/options.hpp"
+#include "opentrack-compat/options.hpp"
#include "opentrack/main-settings.hpp"
using namespace options;
@@ -66,9 +72,7 @@ typedef unsigned char BYTE;
struct Key { int foo; };
#endif
-struct Shortcuts;
-
-struct KeybindingWorker : public QThread {
+struct OPENTRACK_EXPORT KeybindingWorker : public QThread {
#ifdef _WIN32
private:
LPDIRECTINPUT8 din;
@@ -87,7 +91,7 @@ public:
#endif
};
-struct Shortcuts : public QObject {
+struct OPENTRACK_EXPORT Shortcuts : public QObject {
Q_OBJECT
public: