diff --git a/keybindings.cpp b/keybindings.cpp index 69c8b05..777ddb8 100644 --- a/keybindings.cpp +++ b/keybindings.cpp @@ -86,12 +86,6 @@ void KeyBindings::setHoldAction(int key, int action) * @info: This class contains a list of actions available in a given situation (context). */ -/* Implementation of Context class - * @author: Thomas Brandého - * @info: This class contains a list of action associated to a given situation (context). - */ - - Context::Context(std::string _name, std::vector _actions): name(_name), actions(_actions) { diff --git a/keybindings.h b/keybindings.h index d202f1a..fd7d94b 100644 --- a/keybindings.h +++ b/keybindings.h @@ -12,11 +12,11 @@ #define NO_KEY -1 #define NO_ACTION -1 -typedef struct{ +struct Binding{ int action; int key; int type; -} Binding; +}; class IKeysMap{ public: