2004-09-04 12:13:50 +00:00
|
|
|
|
// -*- C++ -*-
|
2007-04-26 04:41:58 +00:00
|
|
|
|
/* \file Messages.h
|
2004-09-04 12:13:50 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef MESSAGES_H
|
|
|
|
|
#define MESSAGES_H
|
|
|
|
|
|
2006-11-04 18:12:57 +00:00
|
|
|
|
#include "support/docstring.h"
|
|
|
|
|
|
2004-09-04 12:13:50 +00:00
|
|
|
|
#include <boost/scoped_ptr.hpp>
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
|
|
2004-09-04 12:13:50 +00:00
|
|
|
|
///
|
|
|
|
|
class Messages {
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
Messages();
|
|
|
|
|
///
|
|
|
|
|
Messages(std::string const & l);
|
|
|
|
|
///
|
|
|
|
|
~Messages();
|
|
|
|
|
///
|
2006-11-04 18:12:57 +00:00
|
|
|
|
docstring const get(std::string const & msg) const;
|
2004-09-04 12:13:50 +00:00
|
|
|
|
private:
|
|
|
|
|
class Pimpl;
|
2007-08-19 09:44:34 +00:00
|
|
|
|
::boost::scoped_ptr<Pimpl> pimpl_;
|
2004-09-04 12:13:50 +00:00
|
|
|
|
};
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2004-09-04 12:13:50 +00:00
|
|
|
|
#endif
|