X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fkbsequence.h;h=6dc269a0357687f9f3e343c8927992a5a4036848;hb=ce7c45bb437c44dae15f96148cb9b793ab0b895c;hp=ba0181bcb059f65a21a26a27f35908491f2aa357;hpb=3b44c08e43ba2bc0ef97c291d4c5a19819e32ab5;p=lyx.git diff --git a/src/kbsequence.h b/src/kbsequence.h index ba0181bcb0..6dc269a035 100644 --- a/src/kbsequence.h +++ b/src/kbsequence.h @@ -19,6 +19,9 @@ #include #include + +namespace lyx { + class kb_keymap; class FuncRequest; @@ -60,15 +63,19 @@ public: /** * Return the current sequence as a string. + * @param forgui true if the string should use translations and + * special characters. * @see parse() */ - std::string const print() const; + docstring const print(bool forgui) const; /** * Return the current sequence and available options as * a string. No options are added if no curmap kb map exists. + * @param forgui true if the string should use translations and + * special characters. */ - std::string const printOptions() const; + docstring const printOptions(bool forgui) const; /// Mark the sequence as deleted. void mark_deleted(); @@ -111,4 +118,7 @@ private: bool deleted_; }; + +} // namespace lyx + #endif