]> git.lyx.org Git - lyx.git/blobdiff - src/messages.h
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
[lyx.git] / src / messages.h
index 7522abc5cfea429acbfc0a97f989b2fac653f648..7d8829e6f89c36a14120e0e986df321aca254304 100644 (file)
@@ -5,25 +5,28 @@
  *
  * \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>
 
 ///
 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;
+       lyx::docstring const get(std::string const & msg) const;
 private:
        class Pimpl;
        boost::scoped_ptr<Pimpl> pimpl_;