diff options
author | Peng Wu <alexepico@gmail.com> | 2015-10-16 13:13:27 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-10-16 13:13:27 +0800 |
commit | 369a4d63b24d441c87da55aa11774881d02fd0a7 (patch) | |
tree | ef20515a918a64da17e5269cc1a408f35ca957c9 /src/pinyin.h | |
parent | 7f77d9dcbc043d00d3ef2eacfb1237b32b1d6136 (diff) | |
download | libpinyin-369a4d63b24d441c87da55aa11774881d02fd0a7.tar.gz libpinyin-369a4d63b24d441c87da55aa11774881d02fd0a7.tar.xz libpinyin-369a4d63b24d441c87da55aa11774881d02fd0a7.zip |
add pinyin_get_luoma_pinyin_string and pinyin_get_secondary_zhuyin_string
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index 31c3bf5..210e9e0 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -590,6 +590,48 @@ bool pinyin_get_pinyin_string(pinyin_instance_t * instance, gchar ** utf8_str); /** + * pinyin_get_luoma_pinyin_string: + * @instance: the pinyin instance. + * @key: the pinyin key. + * @utf8_str: the luoma pinyin string. + * @returns: whether the get operation is successful. + * + * Get the luoma pinyin string of the key. + * + */ +bool pinyin_get_luoma_pinyin_string(pinyin_instance_t * instance, + ChewingKey * key, + gchar ** utf8_str); + +/** + * pinyin_get_luoma_pinyin_string: + * @instance: the pinyin instance. + * @key: the pinyin key. + * @utf8_str: the luoma pinyin string. + * @returns: whether the get operation is successful. + * + * Get the luoma pinyin string of the key. + * + */ +bool pinyin_get_luoma_pinyin_string(pinyin_instance_t * instance, + ChewingKey * key, + gchar ** utf8_str); + +/** + * pinyin_get_secondary_zhuyin_string: + * @instance: the pinyin instance. + * @key: the pinyin key. + * @utf8_str: the secondary zhuyin string. + * @returns: whether the get operation is successful. + * + * Get the secondary zhuyin string of the key. + * + */ +bool pinyin_get_secondary_zhuyin_string(pinyin_instance_t * instance, + ChewingKey * key, + gchar ** utf8_str); + +/** * pinyin_get_pinyin_strings: * @instance: the pinyin instance. * @key: the pinyin key. |