X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Finput%2Fcontrolscheme.h;h=3346bc09bc5857ff43025c4597fb574ce66da756;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hp=dabcec29d726d4103ff877ed35136c98416847ce;hpb=7302a061c57602203895b616bf54d96269c677c6;p=libs%2Fgui.git diff --git a/source/input/controlscheme.h b/source/input/controlscheme.h index dabcec2..3346bc0 100644 --- a/source/input/controlscheme.h +++ b/source/input/controlscheme.h @@ -3,20 +3,24 @@ #include #include +#include namespace Msp { namespace Input { class Control; -class ControlScheme +class MSPGUI_API ControlScheme { private: std::map controls; protected: ControlScheme() = default; +public: + virtual ~ControlScheme() = default; +protected: void add(const std::string &, Control &); public: Control &get(const std::string &) const;