]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/binarycontrol.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / input / binarycontrol.h
index 0d71bdc3349e0dc4afedf3a5a9423528ca82977a..723e70dd4af8bd21573f55a5c675178eb8a5cfb0 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_INPUT_BINARYCONTROL_H_
 #define MSP_INPUT_BINARYCONTROL_H_
 
+#include <msp/graphics/mspgui_api.h>
 #include "control.h"
 
 namespace Msp {
@@ -11,7 +12,7 @@ A control with two possible states.  Button state is mapped directly.  An axis
 is considered to be active when its value is above a threshold (0.5 by
 default).
 */
-class BinaryControl: public Control
+class MSPGUI_API BinaryControl: public Control
 {
 public:
        sigc::signal<void> signal_press;