]> git.lyx.org Git - lyx.git/blob - src/messages.h
Make the l10n machinery work with ucs4. Update (as wip) callers to do manual conversi...
[lyx.git] / src / messages.h
1 // -*- C++ -*-
2 /* \file messages.h
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #ifndef MESSAGES_H
12 #define MESSAGES_H
13
14 #include "support/docstring.h"
15
16 #include <boost/scoped_ptr.hpp>
17 #include <string>
18
19 ///
20 class Messages {
21 public:
22         /// messages in the language defined by the environment
23         Messages();
24         /// messages in the language \p l
25         Messages(std::string const & l);
26         ///
27         ~Messages();
28         ///
29         lyx::docstring const get(std::string const & msg) const;
30 private:
31         class Pimpl;
32         boost::scoped_ptr<Pimpl> pimpl_;
33 };
34
35 #endif