lyx_mirror/src/messages.h
Lars Gullik Bjønnes 5aa348d969 Make the l10n machinery work with ucs4. Update (as wip) callers to do manual conversion and a FIXME comment. Lots of work to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14951 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 11:16:28 +00:00

36 lines
685 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 "support/docstring.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();
///
lyx::docstring const get(std::string const & msg) const;
private:
class Pimpl;
boost::scoped_ptr<Pimpl> pimpl_;
};
#endif