summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-shortcuts.h
diff options
context:
space:
mode:
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;