4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
15 #include "tex-accent.h"
17 #include "trans_decl.h"
24 Trans: holds a .kmap file
34 int Load(string const & language);
36 bool IsDefined() const;
38 string const & GetName() const;
40 string const process(char, TransManager &);
42 bool isAccentDefined(tex_accent, KmodInfo &) const;
46 void AddDeadkey(tex_accent, string const &);
52 string const & Match(unsigned char c);
54 void InsertException(KmodException & exclist, char c,
55 string const & data, bool = false,
56 tex_accent = TEX_NOACCENT);
58 void FreeException(KmodException & exclist);
63 std::map<int, string> keymap_;
65 std::map<int, KmodInfo> kmod_list_;
71 string const & Trans::Match(unsigned char c)
73 std::map<int, string>::iterator it = keymap_.find(c);
74 if (it != keymap_.end()) {