/// Holds a key sequence and the current and standard keymaps
class KeySequence {
public:
- typedef std::vector<KeySymbolPtr> Sequence;
+ typedef std::vector<KeySymbol> Sequence;
friend class KeyMap;
+ KeySequence() : stdmap(0), curmap(0), deleted_(true) {}
///
KeySequence(KeyMap * std, KeyMap * cur)
: stdmap(std), curmap(cur), deleted_(false) {}
* @return the action matching this key sequence or LFUN_UNKNOWN_ACTION
*/
FuncRequest const &
- addkey(KeySymbolPtr keysym, key_modifier::state mod,
+ addkey(KeySymbol const & keysym, key_modifier::state mod,
key_modifier::state nmod = key_modifier::none);
/**