summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-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/win32-shortcuts.h
parent5a2ddaf39cf5ad86cf43d8a01f51989b5e3afa49 (diff)
all: adjust options.hpp move to compat
Diffstat (limited to 'opentrack/win32-shortcuts.h')
-rw-r--r--opentrack/win32-shortcuts.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/opentrack/win32-shortcuts.h b/opentrack/win32-shortcuts.h
index fe92ae53..9b2c6121 100644
--- a/opentrack/win32-shortcuts.h
+++ b/opentrack/win32-shortcuts.h
@@ -10,7 +10,13 @@ struct win_key;
extern QList<win_key> windows_key_mods;
extern QList<win_key> windows_key_sequences;
-struct win_key
+#ifdef BUILD_api
+# include "opentrack-compat/export.hpp"
+#else
+# include "opentrack-compat/import.hpp"
+#endif
+
+struct OPENTRACK_EXPORT win_key
{
win_key(int win, Qt::Key qt) : win(win), qt(qt) {}
int win;