]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/gesturedetector.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / input / gesturedetector.h
index 0b31fd8c1c23aff34aad6914c0d23634566a6cdd..8804dd1abc76a073439a1dae8d8fb64bd33cc4ce 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_INPUT_GESTUREDETECTOR_H_
 #define MSP_INPUT_GESTUREDETECTOR_H_
 
+#include <msp/graphics/mspgui_api.h>
 #include "device.h"
 
 namespace Msp {
@@ -27,7 +28,7 @@ provided for each type of gesture.  Axes 0 and 1 indicate the starting position
 of the gesture; axes 2 and 3 track its progress.  The progress axis may exhibit
 absolute values greater than one.
 */
-class GestureDetector: public Device
+class MSPGUI_API GestureDetector: public Device
 {
 private:
        static constexpr size_t MAX_POINTS = 3;
@@ -71,7 +72,7 @@ private:
 };
 
 
-unsigned gesture_points(Gesture);
+MSPGUI_API unsigned gesture_points(Gesture);
 
 } // namespace Input
 } // namespace Msp