diff options
author | Peng Wu <alexepico@gmail.com> | 2014-04-24 11:10:48 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-04-24 11:10:48 +0800 |
commit | 804cf60341795c0f29638b2a6aefc47bf13604f5 (patch) | |
tree | 8c56052f249db280ad64b2fcb21818a601b1e653 /src/storage/pinyin_parser2.cpp | |
parent | 2cbe46385660f0f2be9d6efaa172925d03ff4f7f (diff) | |
download | libzhuyin-804cf60341795c0f29638b2a6aefc47bf13604f5.tar.gz libzhuyin-804cf60341795c0f29638b2a6aefc47bf13604f5.tar.xz libzhuyin-804cf60341795c0f29638b2a6aefc47bf13604f5.zip |
update public api
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index f2cf157..1a80621 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -95,7 +95,7 @@ gint _ChewingKey::get_table_index() { return index == -1 ? 0 : index; } -gchar * _ChewingKey::get_pinyin_string(FullPinyinScheme scheme) { +gchar * _ChewingKey::get_pinyin_string(ZhuyinScheme scheme) { assert(m_tone < CHEWING_NUMBER_OF_TONES); gint index = get_table_index(); assert(index < (int) G_N_ELEMENTS(content_table)); @@ -441,7 +441,7 @@ int FullPinyinParser2::final_step(size_t step_len, ChewingKeyVector & keys, return parsed_len; } -bool FullPinyinParser2::set_scheme(FullPinyinScheme scheme){ +bool FullPinyinParser2::set_scheme(ZhuyinScheme scheme){ switch(scheme){ case FULL_PINYIN_HANYU: m_pinyin_index = hanyu_pinyin_index; @@ -727,7 +727,7 @@ int ChewingDiscreteParser2::parse(pinyin_option_t options, return parsed_len; } -bool ChewingDiscreteParser2::set_scheme(ChewingScheme scheme) { +bool ChewingDiscreteParser2::set_scheme(ZhuyinScheme scheme) { m_options = 0; #define INIT_PARSER(index, table) { \ |