removed useless comment and change syntax for struct Binding

This commit is contained in:
MysticWorld 2015-10-10 17:02:37 +02:00
parent 306d12de27
commit 6c489ccd40
2 changed files with 2 additions and 8 deletions

View File

@ -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). * @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<int> _actions): name(_name), actions(_actions) Context::Context(std::string _name, std::vector<int> _actions): name(_name), actions(_actions)
{ {

View File

@ -12,11 +12,11 @@
#define NO_KEY -1 #define NO_KEY -1
#define NO_ACTION -1 #define NO_ACTION -1
typedef struct{ struct Binding{
int action; int action;
int key; int key;
int type; int type;
} Binding; };
class IKeysMap{ class IKeysMap{
public: public: