]> git.lyx.org Git - lyx.git/blobdiff - src/kbsequence.h
bug 183
[lyx.git] / src / kbsequence.h
index f277ba83eecb9bf45f18f8f8137ac2d890e669ef..8da2f19e4674e7e5dd054813956328ca73c1e179 100644 (file)
@@ -15,8 +15,6 @@
 #include <vector>
 #include "LString.h"
 
-#include "commandtags.h"
-
 class kb_keymap;
 
 /// Holds a key sequence and the current and standard keymaps
@@ -34,9 +32,10 @@ public:
         * Add a key to the key sequence and look it up in the curmap
         * if the latter is defined.
         * @param mod modifier mask
+        * @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);
+       int addkey(unsigned int key, unsigned int mod, unsigned int nmod = 0);
 
        /**
         * Add a sequence of keys from a string to the sequence