- ///
- void print(string & buf) const;
-
- /// Look up a key in the keymap
- int lookup(KeySym key, unsigned mod, kb_sequence * seq);
+ // Parse a bind file
+ bool kb_keymap::read(string const & bind_file);
+
+ /// print all available keysyms
+ string const print() const;
+
+ /**
+ * Look up a key press in the keymap.
+ * @param key the keysym
+ * @param mod the modifiers
+ * @param seq the current key sequence so far
+ * @return the action / LFUN_PREFIX / LFUN_UNKNOWN_ACTION
+ */
+ int lookup(LyXKeySymPtr key,
+ key_modifier::state mod, kb_sequence * seq) const;