#include <vector>
#include "LString.h"
-#include "commandtags.h"
-
class kb_keymap;
/// Holds a key sequence and the current and standard keymaps
* @param nmod which modifiers to mask out for equality test
* @return the action matching this key sequence or LFUN_UNKNOWN_ACTION
*/
- kb_action addkey(unsigned int key, unsigned int mod, unsigned int nmod = 0);
+ int addkey(unsigned int key, unsigned int mod, unsigned int nmod = 0);
/**
* Add a sequence of keys from a string to the sequence