summaryrefslogtreecommitdiffstats
path: root/src/zhuyin.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-04-24 11:10:48 +0800
committerPeng Wu <alexepico@gmail.com>2014-04-24 11:10:48 +0800
commit804cf60341795c0f29638b2a6aefc47bf13604f5 (patch)
tree8c56052f249db280ad64b2fcb21818a601b1e653 /src/zhuyin.cpp
parent2cbe46385660f0f2be9d6efaa172925d03ff4f7f (diff)
downloadlibzhuyin-804cf60341795c0f29638b2a6aefc47bf13604f5.tar.gz
libzhuyin-804cf60341795c0f29638b2a6aefc47bf13604f5.tar.xz
libzhuyin-804cf60341795c0f29638b2a6aefc47bf13604f5.zip
update public api
Diffstat (limited to 'src/zhuyin.cpp')
-rw-r--r--src/zhuyin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zhuyin.cpp b/src/zhuyin.cpp
index c1f08a0..267de3f 100644
--- a/src/zhuyin.cpp
+++ b/src/zhuyin.cpp
@@ -36,7 +36,7 @@ typedef GArray * CandidateVector; /* GArray of lookup_candidate_t */
struct _zhuyin_context_t{
pinyin_option_t m_options;
- FullPinyinScheme m_full_pinyin_scheme;
+ ZhuyinScheme m_full_pinyin_scheme;
FullPinyinParser2 * m_full_pinyin_parser;
ChewingParser2 * m_chewing_parser;
@@ -637,7 +637,7 @@ bool zhuyin_save(zhuyin_context_t * context){
}
bool zhuyin_set_chewing_scheme(zhuyin_context_t * context,
- ChewingScheme scheme){
+ ZhuyinScheme scheme){
delete context->m_chewing_parser;
context->m_chewing_parser = NULL;
@@ -663,7 +663,7 @@ bool zhuyin_set_chewing_scheme(zhuyin_context_t * context,
}
bool zhuyin_set_full_pinyin_scheme(zhuyin_context_t * context,
- FullPinyinScheme scheme){
+ ZhuyinScheme scheme){
context->m_full_pinyin_scheme = scheme;
context->m_full_pinyin_parser->set_scheme(scheme);
return true;