X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeySequence.h;h=d720534536b1b3b9e53dedcaa8651b1ba40a3065;hb=b7406da7f0326fbd895c700ad5ded4cc5112094f;hp=b59e86d2df131864bebb49d90cd58ada8ce8b931;hpb=c4033d401202ffc57b5a04ef9cf83b494b7ddfa0;p=lyx.git diff --git a/src/KeySequence.h b/src/KeySequence.h index b59e86d2df..d720534536 100644 --- a/src/KeySequence.h +++ b/src/KeySequence.h @@ -61,13 +61,18 @@ public: */ size_t parse(std::string const & s); + enum outputFormat { + Portable, //< use a more portable format + ForGui, //< use platform specific translations and special characters + BindFile //< the format used in lyx bind files + }; + /** * Return the current sequence as a string. - * @param forgui true if the string should use translations and - * special characters. + * @param format output format * @see parse() */ - docstring const print(bool forgui) const; + docstring const print(outputFormat format) const; /** * Return the current sequence and available options as