]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keys.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / input / keys.h
index 63d0926cf48565ea806faec7593819660a8d9bda..ffa97e5e4d4e33dea3cb99c30d169a0f29d3900c 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_INPUT_KEYS_H_
 #define MSP_INPUT_KEYS_H_
 
+#include <msp/graphics/mspgui_api.h>
 #include <msp/strings/lexicalcast.h>
 
 namespace Msp {
@@ -161,12 +162,12 @@ enum MouseButton
        MOUSE_WHEEL_DOWN
 };
 
-void operator>>(const LexicalConverter &, Key &);
-void operator<<(LexicalConverter &, Key);
-void operator>>(const LexicalConverter &, MouseAxis &);
-void operator<<(LexicalConverter &, MouseAxis);
-void operator>>(const LexicalConverter &, MouseButton &);
-void operator<<(LexicalConverter &, MouseButton);
+MSPGUI_API void operator>>(const LexicalConverter &, Key &);
+MSPGUI_API void operator<<(LexicalConverter &, Key);
+MSPGUI_API void operator>>(const LexicalConverter &, MouseAxis &);
+MSPGUI_API void operator<<(LexicalConverter &, MouseAxis);
+MSPGUI_API void operator>>(const LexicalConverter &, MouseButton &);
+MSPGUI_API void operator<<(LexicalConverter &, MouseButton);
 
 } // namespace Input
 } // namespace Msp