]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/controlscheme.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / input / controlscheme.h
index dabcec29d726d4103ff877ed35136c98416847ce..3346bc09bc5857ff43025c4597fb574ce66da756 100644 (file)
@@ -3,20 +3,24 @@
 
 #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;