]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.h
More 'standard conformant blurb' nonsense.
[lyx.git] / src / kbmap.h
index 482ab6c10db3d21f2e081363c2f193bff9e8da19..3b1818e5fb6a3f827e86fba2f43d0f4c78eb588a 100644 (file)
 #ifndef KBMAP_H
 #define KBMAP_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include "frontends/key_state.h"
 #include "frontends/LyXKeySym.h"
 
-#include <list>
+#include <vector>
 
 class kb_sequence;
 
@@ -34,6 +30,9 @@ public:
         */
        string::size_type bind(string const & seq, int action);
 
+       // Parse a bind file
+       bool kb_keymap::read(string const & bind_file);
+
        /// print all available keysyms
        string const print() const;
 
@@ -91,7 +90,7 @@ private:
                return table.empty();
        }
        ///
-       typedef std::list<kb_key> Table;
+       typedef std::vector<kb_key> Table;
        ///
        Table table;
 };