2003-04-23 18:47:21 +00:00
|
|
|
|
// -*- C++ -*-
|
2003-04-23 20:44:53 +00:00
|
|
|
|
/* \file messages.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
2003-04-23 18:47:21 +00:00
|
|
|
|
* 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 "LString.h"
|
|
|
|
|
|
2003-04-24 22:09:46 +00:00
|
|
|
|
#include <boost/scoped_ptr.hpp>
|
2003-04-23 18:47:21 +00:00
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
class Messages {
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
Messages(string const & l, string const & dir);
|
|
|
|
|
///
|
|
|
|
|
~Messages();
|
|
|
|
|
///
|
|
|
|
|
string const get(string const & msg) const;
|
|
|
|
|
private:
|
2003-04-24 22:09:46 +00:00
|
|
|
|
class Pimpl;
|
|
|
|
|
boost::scoped_ptr<Pimpl> pimpl_;
|
2003-04-23 18:47:21 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|