]> git.lyx.org Git - lyx.git/blob - src/messages.h
* Application.C (Application): initialize correctly current_view_.
[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 namespace lyx {
21
22 ///
23 class Messages {
24 public:
25         /// messages in the language defined by the environment
26         Messages();
27         /// messages in the language \p l
28         Messages(std::string const & l);
29         ///
30         ~Messages();
31         ///
32         docstring const get(std::string const & msg) const;
33 private:
34         class Pimpl;
35         boost::scoped_ptr<Pimpl> pimpl_;
36 };
37
38
39 } // namespace lyx
40
41 #endif