]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.h
hopefully fix tex2lyx linking.
[lyx.git] / src / kbmap.h
index d342510b0c6bb59c62d23b063ab1feec258c8855..edadfaa9c641881f5e57f3c4b95f853561b5ed2e 100644 (file)
@@ -24,6 +24,9 @@
 #include <vector>
 #include <deque>
 
+
+namespace lyx {
+
 class kb_sequence;
 
 /// Defines key maps and actions for key sequences
@@ -48,7 +51,7 @@ public:
         * @param key the keysym
         * @param mod the modifiers
         * @param seq the current key sequence so far
-        * @return the action / LFUN_PREFIX / LFUN_UNKNOWN_ACTION
+        * @return the action / LFUN_COMMAND_PREFIX / LFUN_UNKNOWN_ACTION
         */
        FuncRequest const &
        lookup(LyXKeySymPtr key,
@@ -126,4 +129,10 @@ private:
        Table table;
 };
 
+/// Implementation is in lyx_main.C
+extern kb_keymap & theTopLevelKeymap();
+
+
+} // namespace lyx
+
 #endif // KBMAP_H