lyx_mirror/src/messages.h

42 lines
719 B
C
Raw Normal View History

// -*- C++ -*-
/* \file messages.h
* 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
#include "support/docstring.h"
#include <boost/scoped_ptr.hpp>
#include <string>
namespace lyx {
///
class Messages {
public:
/// messages in the language defined by the environment
Messages();
/// messages in the language \p l
Messages(std::string const & l);
///
~Messages();
///
docstring const get(std::string const & msg) const;
private:
class Pimpl;
boost::scoped_ptr<Pimpl> pimpl_;
};
} // namespace lyx
#endif