]> git.lyx.org Git - lyx.git/blobdiff - src/messages.h
fix aspell encoding (confirmed on linux, cygwin and native windows,
[lyx.git] / src / messages.h
index 7522abc5cfea429acbfc0a97f989b2fac653f648..39c7246ecddf5f2fc3f527644ce0ca94447742d5 100644 (file)
@@ -5,28 +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 <boost/scoped_ptr.hpp>
+#include <string>
+
+
+namespace lyx {
 
 ///
 class Messages {
 public:
-       ///
-       Messages(string const & l, string const & dir);
+       /// messages in the language defined by the environment
+       Messages();
+       /// 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