]> git.lyx.org Git - lyx.git/blobdiff - src/kbsequence.h
Fix fuer #209
[lyx.git] / src / kbsequence.h
index 255adb2d298f7d86f81f70084391fbc4df09b72c..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
@@ -37,7 +35,7 @@ public:
         * @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