]> git.lyx.org Git - lyx.git/blob - src/client/Messages.h
Don't allow newline characters in document settings.
[lyx.git] / src / client / 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
18
19 namespace lyx {
20
21 ///
22 class Messages {
23 public:
24         ///
25         Messages();
26         ///
27         Messages(std::string const & l);
28         ///
29         ~Messages();
30         ///
31         docstring const get(std::string const & msg) const;
32 private:
33         class Pimpl;
34         ::boost::scoped_ptr<Pimpl> pimpl_;
35 };
36
37
38 } // namespace lyx
39
40 #endif