X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFuncStatus.h;h=af2801389e8e2ca4cbf3b8b3644cf3b7cc9eec49;hb=489b80aef4d7904d667aeb06a32f2cc4ecbb75fa;hp=054b7db81849ff565dbb36f1d237984aea58b4fa;hpb=a2f413c0356dcd54ca3eb7141f073312918fdc60;p=lyx.git diff --git a/src/FuncStatus.h b/src/FuncStatus.h index 054b7db818..af2801389e 100644 --- a/src/FuncStatus.h +++ b/src/FuncStatus.h @@ -12,7 +12,10 @@ #ifndef FUNC_STATUS_H #define FUNC_STATUS_H -#include +#include "support/docstring.h" + + +namespace lyx { /// The status of a function. @@ -41,7 +44,7 @@ private: unsigned int v_; - std::string message_; + docstring message_; public: /// @@ -56,7 +59,7 @@ public: bool unknown() const; /// - void enabled(bool b); + void setEnabled(bool b); /// tells whether it can be invoked (otherwise it will be grayed-out). bool enabled() const; @@ -67,9 +70,12 @@ public: bool onoff(bool b) const; /// - void message(std::string const & m); + void message(docstring const & m); /// - std::string const & message() const; + docstring const & message() const; }; + +} // namespace lyx + #endif