]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keyboard.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / input / keyboard.h
index 30ec39c139b74d0b8f32a98cedf5dd765510c406..9048d520ece556971c57ec68b9761b3304fbe3d4 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_INPUT_KEYBOARD_H_
 
 #include <sigc++/trackable.h>
+#include <msp/graphics/mspgui_api.h>
 #include <msp/graphics/window.h>
 #include <msp/stringcodec/ustring.h>
 #include "device.h"
@@ -13,7 +14,7 @@ namespace Input {
 Adapts key events from a window to the abstracted input framework.  Key codes
 are translated to platform-independent values.  See keys.h for a list.
 */
-class Keyboard: public Device, public sigc::trackable
+class MSPGUI_API Keyboard: public Device, public sigc::trackable
 {
 public:
        sigc::signal<bool, StringCodec::unichar>::accumulated<EventAccumulator> signal_character;