X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmessages.h;h=e5c17d8dd3d9a0148425a07194edc417af2ad9f8;hb=24f8676130d1e0769db394b7142dae7eeb1d955e;hp=b426ccf0c3a7ba35a14f0299e9330b6c91edd3e1;hpb=4fbd6bcd95521b065d991bd6843a541c06eb67ea;p=lyx.git diff --git a/src/messages.h b/src/messages.h index b426ccf0c3..e5c17d8dd3 100644 --- a/src/messages.h +++ b/src/messages.h @@ -1,11 +1,11 @@ // -*- C++ -*- -* \file messages.h -* This file is part of LyX, the document processor. +/* \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 + * Full author contact details are available in file CREDITS. */ #ifndef MESSAGES_H @@ -13,38 +13,22 @@ #include "LString.h" -#include +#include /// class Messages { public: /// - typedef std::messages::catalog catalog; + Messages(); /// - Messages(string const & l, string const & dir); + Messages(string const & l); /// ~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 const & mssg_gl; - /// - catalog cat_gl; + class Pimpl; + boost::scoped_ptr pimpl_; }; #endif