X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmessages.h;h=39c7246ecddf5f2fc3f527644ce0ca94447742d5;hb=ca6838b288daf07eec7d7a381d74c639c0de3a46;hp=2a85f10e1e6e46991fe9b5564bfeb1d075099f96;hpb=e2b65dec0cb141ba517e171deb339001bdba0b3c;p=lyx.git diff --git a/src/messages.h b/src/messages.h index 2a85f10e1e..39c7246ecd 100644 --- a/src/messages.h +++ b/src/messages.h @@ -5,30 +5,37 @@ * * \author Lars Gullik Bjønnes * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #ifndef MESSAGES_H #define MESSAGES_H -#include "LString.h" +#include "support/docstring.h" #include +#include + + +namespace lyx { /// class Messages { public: - /// + /// messages in the language defined by the environment Messages(); - /// - Messages(string const & l); + /// messages in the language \p l + Messages(std::string const & l); /// ~Messages(); /// - string const get(string const & msg) const; + docstring const get(std::string const & msg) const; private: class Pimpl; boost::scoped_ptr pimpl_; }; + +} // namespace lyx + #endif