unsigned int r = 0);
- // if a keybinding has been defined.
- bool hasBinding(KeySequence const & seq, FuncRequest const & func,
- unsigned int r = 0);
+ /// returns the function bound to this key sequence, or
+ /// FuncRequest::unknown if no binding exists for it.
+ /// @param r an internal recursion counter
+ // FIXME Surely there's a better way to do that?
+ FuncRequest getBinding(KeySequence const & seq, unsigned int r = 0);
- // clear all bindings
+ /// clear all bindings
void clear();
/** Parse a bind file. If a valid unbind_map is given, put \unbind