lyx_mirror/src/messages.h
Georg Baum e416d1aea7 enable translation of ambigous messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9097 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-19 09:11:02 +00:00

34 lines
650 B
C++

// -*- 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ønnes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MESSAGES_H
#define MESSAGES_H
#include <boost/scoped_ptr.hpp>
#include <string>
///
class Messages {
public:
/// messages in the language defined by the environment
Messages();
/// messages in the language \p l
Messages(std::string const & l);
///
~Messages();
///
std::string const get(std::string const & msg) const;
private:
class Pimpl;
boost::scoped_ptr<Pimpl> pimpl_;
};
#endif