11 #include "tex-accent.h"
13 #include "trans_decl.h"
20 Trans: holds a .kmap file
22 //class Trans : public TransInterface {
31 int Load(string const & language);
33 bool IsDefined() const;
35 string const & GetName() const;
37 string const process(char, TransManager &);
39 bool isAccentDefined(tex_accent, KmodInfo &) const;
43 void AddDeadkey(tex_accent, string const &);
49 string const & Match(unsigned char c);
51 void InsertException(KmodException & exclist, char c,
52 string const & data, bool = false,
53 tex_accent = TEX_NOACCENT);
55 void FreeException(KmodException & exclist);
60 std::map<int, string> keymap_;
62 std::map<int, KmodInfo> kmod_list_;
68 string const & Trans::Match(unsigned char c)
70 std::map<int, string>::iterator it = keymap_.find(c);
71 if (it != keymap_.end()) {