X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeyMap.h;h=cd28782356ac98336fb791def7b84c5d5824d789;hb=f58638c704b0b4ac66e5f88431901977cc7801be;hp=e2d0f3aac07afed49d765f39297d487a960fb8ea;hpb=c9b9748cee687e709e9e48dd2c78e054d8ea29a3;p=lyx.git diff --git a/src/KeyMap.h b/src/KeyMap.h index e2d0f3aac0..cd28782356 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -168,8 +168,16 @@ private: 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