X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fintl.h;h=fe7ae6a89dd1ec13a02f7f027783861bfa80dc68;hb=6a36d26356348d9e5f6ff63febe321d06c2e40ed;hp=6c5f47e7b37c233b974cd16c931502d7215c1af9;hpb=524a23ba3ad249e868b1012f00d0541f12a9a263;p=lyx.git diff --git a/src/intl.h b/src/intl.h index 6c5f47e7b3..fe7ae6a89d 100644 --- a/src/intl.h +++ b/src/intl.h @@ -1,16 +1,27 @@ // -*- C++ -*- -/* International support for LyX */ +/** + * \file intl.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author unknown + * \author Lars Gullik Bjønnes + * \author Angus Leeming + * \author John Levon + * + * Full author contact details are available in file CREDITS. + */ + #ifndef INTL_H #define INTL_H -#ifdef __GNUG__ -#pragma interface -#endif - -#include "LString.h" #include "trans_mgr.h" +/** + * This class is used for managing keymaps + * for composing characters in LyX. + */ class Intl { public: /// which keymap is currently used ? @@ -18,9 +29,9 @@ public: PRIMARY, SECONDARY }; - + Intl(); - + /// {en/dis}able the keymap void KeyMapOn(bool on); @@ -37,7 +48,7 @@ public: void InitKeyMapper(bool on); // Get the Translation Manager - TransManager & getTrans(); + TransManager & getTransManager(); /// using primary or secondary keymap ? Keymap keymap; @@ -46,16 +57,16 @@ private: /// is key mapping enabled ? bool keymapon; /// the primary language keymap - string & prim_lang; + std::string & prim_lang; /// the secondary language keymap - string & sec_lang; + std::string & sec_lang; /// the translation manager TransManager trans; }; inline -TransManager & Intl::getTrans() +TransManager & Intl::getTransManager() { return trans; }