]> git.lyx.org Git - features.git/blobdiff - src/intl.h
Replace LString.h with support/std_string.h,
[features.git] / src / intl.h
index 6c5f47e7b37c233b974cd16c931502d7215c1af9..0180c84b1ee40b22da2e381d341aaf5b5851ed90 100644 (file)
@@ -1,16 +1,28 @@
 // -*- 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 "support/std_string.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 +30,9 @@ public:
                PRIMARY,
                SECONDARY
        };
-       
+
        Intl();
-       
+
        /// {en/dis}able the keymap
        void KeyMapOn(bool on);
 
@@ -37,7 +49,7 @@ public:
        void InitKeyMapper(bool on);
 
        // Get the Translation Manager
-       TransManager & getTrans();
+       TransManager & getTransManager();
 
        /// using primary or secondary keymap ?
        Keymap keymap;
@@ -55,7 +67,7 @@ private:
 
 
 inline
-TransManager & Intl::getTrans()
+TransManager & Intl::getTransManager()
 {
        return trans;
 }