]> git.lyx.org Git - lyx.git/blobdiff - src/kbmap.h
Point fix, earlier forgotten
[lyx.git] / src / kbmap.h
index 482ab6c10db3d21f2e081363c2f193bff9e8da19..f2a9cd12601447c41c8b57a18ebadcb287b0ccc8 100644 (file)
@@ -1,25 +1,24 @@
 // -*- 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
 #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 +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;
 
@@ -91,7 +93,7 @@ private:
                return table.empty();
        }
        ///
-       typedef std::list<kb_key> Table;
+       typedef std::vector<kb_key> Table;
        ///
        Table table;
 };