lyx_mirror/src/messages.h
Lars Gullik Bjønnes 795e9a7586 add missing char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6842 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-23 20:44:53 +00:00

51 lines
804 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 "LString.h"
#include <locale>
///
class Messages {
public:
///
typedef std::messages<char>::catalog catalog;
///
Messages(string const & l, string const & dir);
///
~Messages();
///
string const get(string const & msg) const;
///
string const & lang() const {
return lang_;
}
///
string const & localedir() const {
return localedir_;
}
private:
///
string lang_;
///
string localedir_;
///
std::locale loc_gl;
///
std::messages<char> const & mssg_gl;
///
catalog cat_gl;
};
#endif