X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Fgesturedetector.h;fp=source%2Finput%2Fgesturedetector.h;h=8804dd1abc76a073439a1dae8d8fb64bd33cc4ce;hp=0b31fd8c1c23aff34aad6914c0d23634566a6cdd;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hpb=479298192e3e5b71a402f79520c90372a4c4b504 diff --git a/source/input/gesturedetector.h b/source/input/gesturedetector.h index 0b31fd8..8804dd1 100644 --- a/source/input/gesturedetector.h +++ b/source/input/gesturedetector.h @@ -1,6 +1,7 @@ #ifndef MSP_INPUT_GESTUREDETECTOR_H_ #define MSP_INPUT_GESTUREDETECTOR_H_ +#include #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