#ifndef INTL_H
#define INTL_H
-#include "support/std_string.h"
#include "trans_mgr.h"
+namespace lyx {
+
+
/**
* This class is used for managing keymaps
* for composing characters in LyX.
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();
/// 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;
};
return trans;
}
+
+} // namespace lyx
+
#endif /* INTL_H */