#include <map>
#include <string>
+#include <msp/graphics/mspgui_api.h>
namespace Msp {
namespace Input {
class Control;
-class ControlScheme
+class MSPGUI_API ControlScheme
{
private:
std::map<std::string, Control *> controls;
protected:
ControlScheme() = default;
+public:
+ virtual ~ControlScheme() = default;
+protected:
void add(const std::string &, Control &);
public:
Control &get(const std::string &) const;