]> git.lyx.org Git - lyx.git/blobdiff - src/messages.h
* InsetMathNest.C (handleFont): avoid crash on undo when
[lyx.git] / src / messages.h
index 1c04d9c73588d05c221eb8c82c7214730013a41f..39c7246ecddf5f2fc3f527644ce0ca94447742d5 100644 (file)
 #ifndef MESSAGES_H
 #define MESSAGES_H
 
-#include "support/std_string.h"
+#include "support/docstring.h"
 
 #include <boost/scoped_ptr.hpp>
+#include <string>
+
+
+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> pimpl_;
 };
 
+
+} // namespace lyx
+
 #endif