diff options
author | Peng Wu <alexepico@gmail.com> | 2013-03-14 13:41:31 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-03-14 15:27:58 +0800 |
commit | 62b0a79c8a3e4da8895258761ed99611ba321b62 (patch) | |
tree | 86d846bf7ca693125e55b6a8e9878999676c05c0 /src/storage/pinyin_custom2.h | |
parent | 7cdbdbeea60b77c717f1ce7db45541c83d2ec01e (diff) | |
download | libpinyin-62b0a79c8a3e4da8895258761ed99611ba321b62.tar.gz libpinyin-62b0a79c8a3e4da8895258761ed99611ba321b62.tar.xz libpinyin-62b0a79c8a3e4da8895258761ed99611ba321b62.zip |
re-factor pinyin_custom2.h
Diffstat (limited to 'src/storage/pinyin_custom2.h')
-rw-r--r-- | src/storage/pinyin_custom2.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/storage/pinyin_custom2.h b/src/storage/pinyin_custom2.h index 499a9d4..7e107c1 100644 --- a/src/storage/pinyin_custom2.h +++ b/src/storage/pinyin_custom2.h @@ -77,6 +77,33 @@ enum PinyinCorrection2{ PINYIN_CORRECT_ALL = 0xFFU << 21 }; +/** + * @brief enums of Double Pinyin Schemes. + */ +enum DoublePinyinScheme +{ + DOUBLE_PINYIN_ZRM = 1, + DOUBLE_PINYIN_MS = 2, + DOUBLE_PINYIN_ZIGUANG = 3, + DOUBLE_PINYIN_ABC = 4, + DOUBLE_PINYIN_PYJJ = 6, + DOUBLE_PINYIN_XHE = 7, + DOUBLE_PINYIN_CUSTOMIZED = 30, /* for user's keyboard */ + DOUBLE_PINYIN_DEFAULT = DOUBLE_PINYIN_MS +}; + +/** + * @brief enums of Chewing Schemes. + */ +enum ChewingScheme +{ + CHEWING_STANDARD = 1, + CHEWING_IBM = 2, + CHEWING_GINYIEH = 3, + CHEWING_ETEN = 4, + CHEWING_DEFAULT = CHEWING_STANDARD +}; + }; #endif |