]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.h
New LFUN tabular-feature: convert "inset-modify tabular" in LyX files
[lyx.git] / src / KeyMap.h
index 1a37a1fc99772fae1ded88eaaf5c86dee5950e86..cd28782356ac98336fb791def7b84c5d5824d789 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "support/strfwd.h"
 
-#include <boost/shared_ptr.hpp>
+#include "support/shared_ptr.h"
 
 #include <vector>
 
@@ -163,13 +163,21 @@ private:
                /// Modifier masks
                ModifierPair mod;
                /// Keymap for prefix keys
-               boost::shared_ptr<KeyMap> prefixes;
+               shared_ptr<KeyMap> prefixes;
                /// Action for !prefix keys
                FuncRequest func;
        };
 
+       enum ReturnValues {
+               ReadOK,
+               ReadError,
+               FileError,
+               FormatMismatch
+       };
        ///
        bool read(support::FileName const & bind_file, KeyMap * unbind_map = 0);
+       ///
+       ReturnValues readWithoutConv(support::FileName const & bind_file, KeyMap * unbind_map = 0);
 
        /**
         * Given an action, find all keybindings