]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.h
Move #includes out of header files.
[lyx.git] / src / kbmap.h
index b2f2af92102855399ef6157475687945befe392d..f2a9cd12601447c41c8b57a18ebadcb287b0ccc8 100644 (file)
@@ -1,11 +1,14 @@
 // -*- C++ -*-
 /**
  * \file kbmap.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes <larsbj@lyx.org>
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef KBMAP_H
@@ -15,7 +18,7 @@
 #include "frontends/key_state.h"
 #include "frontends/LyXKeySym.h"
 
-#include <list>
+#include <vector>
 
 class kb_sequence;
 
@@ -30,6 +33,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;
 
@@ -87,7 +93,7 @@ private:
                return table.empty();
        }
        ///
-       typedef std::list<kb_key> Table;
+       typedef std::vector<kb_key> Table;
        ///
        Table table;
 };