X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Fcontrol.h;fp=source%2Finput%2Fcontrol.h;h=177776d1a4aac86dc413a5364a7e0cdd4900113c;hp=f9c7003b4290ea17b8f57dfb43249b03f8489288;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hpb=479298192e3e5b71a402f79520c90372a4c4b504 diff --git a/source/input/control.h b/source/input/control.h index f9c7003..177776d 100644 --- a/source/input/control.h +++ b/source/input/control.h @@ -4,6 +4,7 @@ #include #include #include +#include namespace Msp { namespace Input { @@ -23,7 +24,7 @@ enum ControlSrcType Specifies the source of a control. This provides a way for setting sources for different types of controls in a uniform way. */ -struct ControlSource +struct MSPGUI_API ControlSource { Device *dev = nullptr; ControlSrcType type = NO_SOURCE; @@ -48,7 +49,7 @@ active for any events to be processed. This can be used to implement shifted controls (when used on a BinaryControl) or click-and-drag functionality (when used on a SmoothControl). */ -class Control: public sigc::trackable +class MSPGUI_API Control: public sigc::trackable { public: sigc::signal signal_capture_complete;