// // Copyright RIME Developers // Distributed under the BSD License // // 2016-09-08 osfans // #ifndef RIME_CODEPOINT_TRANSLATOR_H_ #define RIME_CODEPOINT_TRANSLATOR_H_ #include namespace rime { class TranslatorOptions; class CodepointTranslator : public Translator { public: CodepointTranslator(const Ticket& ticket); virtual an Query(const string& input, const Segment& segment); protected: void Initialize(); string tag_; bool initialized_ = false; string prefix_; string suffix_; string tips_; string charset_; map> converters_; }; } // namespace rime #endif // RIME_CODEPOINT_TRANSLATOR_H_