diff options
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/pinyin_parser2.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index b402523..678ab29 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -78,10 +78,6 @@ typedef GArray * ParseValueVector; */ class PinyinParser2 { -protected: - const pinyin_index_item_t * m_pinyin_index; - size_t m_pinyin_index_len; - public: /** * PinyinParser2::~PinyinParser2: @@ -129,7 +125,10 @@ public: */ class FullPinyinParser2 : public PinyinParser2 { +protected: /* Note: some internal pointers to full pinyin table. */ + const pinyin_index_item_t * m_pinyin_index; + size_t m_pinyin_index_len; protected: ParseValueVector m_parse_steps; @@ -137,10 +136,6 @@ protected: int final_step(size_t step_len, ChewingKeyVector & keys, ChewingKeyRestVector & key_rests) const; - bool post_process2(pinyin_option_t options, ChewingKeyVector & keys, - ChewingKeyRestVector & key_rests, - const char * str, int len) const; - public: FullPinyinParser2(); virtual ~FullPinyinParser2() { |