]> git.lyx.org Git - lyx.git/blobdiff - src/intl.h
Fix breakage caused by bad commits.
[lyx.git] / src / intl.h
index e83ad9d7a5130668d6692f40ea538f6fad6428dd..6a113cd9a999eda37dcc21a927f6107e81131882 100644 (file)
@@ -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 ?
@@ -22,22 +33,22 @@ 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 & 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;
 }