X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fintl.h;h=07de268332e114544d1e580e919e05e6202a2feb;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=df38184a4f8176acb87193e40116fd04775231f5;hpb=13349032cb4dc8ef44146aa652ff6bbff6698249;p=lyx.git diff --git a/src/intl.h b/src/intl.h index df38184a4f..07de268332 100644 --- a/src/intl.h +++ b/src/intl.h @@ -1,25 +1,26 @@ // -*- C++ -*- /** * \file intl.h - * Copyright 1995-2002 the LyX Team - * Read the file COPYING + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * \author unknown - * \author John Levon + * \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" +namespace lyx { + + /** * This class is used for managing keymaps * for composing characters in LyX. @@ -35,19 +36,19 @@ public: Intl(); /// {en/dis}able the keymap - void KeyMapOn(bool on); + void keyMapOn(bool on); /// set the primary language keymap - void KeyMapPrim(); + void keyMapPrim(); /// set the secondary language keymap - void KeyMapSec(); + void keyMapSec(); /// turn on/off key mappings, status in keymapon - void ToggleKeyMap(); + void toggleKeyMap(); /// initialize key mapper - void InitKeyMapper(bool on); + void initKeyMapper(bool on); // Get the Translation Manager TransManager & getTransManager(); @@ -59,9 +60,9 @@ 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; }; @@ -73,4 +74,7 @@ TransManager & Intl::getTransManager() return trans; } + +} // namespace lyx + #endif /* INTL_H */