// -*- 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 ?
PRIMARY,
SECONDARY
};
-
+
Intl();
-
+
/// {en/dis}able the keymap
void KeyMapOn(bool on);
void InitKeyMapper(bool on);
// Get the Translation Manager
- TransManager & getTrans();
+ TransManager & getTransManager();
/// using primary or secondary keymap ?
Keymap keymap;
inline
-TransManager & Intl::getTrans()
+TransManager & Intl::getTransManager()
{
return trans;
}