4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Matthias Ettrich
11 * Full author contact details are available in file CREDITS.
19 #include "tex-accent.h"
21 #include "trans_decl.h"
28 Trans: holds a .kmap file
38 int Load(string const & language);
40 bool IsDefined() const;
42 string const & GetName() const;
44 string const process(char, TransManager &);
46 bool isAccentDefined(tex_accent, KmodInfo &) const;
50 void AddDeadkey(tex_accent, string const &);
56 string const & Match(unsigned char c);
58 void InsertException(KmodException & exclist, char c,
59 string const & data, bool = false,
60 tex_accent = TEX_NOACCENT);
62 void FreeException(KmodException & exclist);
67 std::map<int, string> keymap_;
69 std::map<int, KmodInfo> kmod_list_;
75 string const & Trans::Match(unsigned char c)
77 std::map<int, string>::iterator it = keymap_.find(c);
78 if (it != keymap_.end()) {