zhuyin.h   zhuyin.h 
skipping to change at line 306 skipping to change at line 306
* @chewings: the chewings to be parsed. * @chewings: the chewings to be parsed.
* @returns: the parsed length of the chewings. * @returns: the parsed length of the chewings.
* *
* Parse multiple chewings and save it in the instance. * Parse multiple chewings and save it in the instance.
* *
*/ */
size_t zhuyin_parse_more_chewings(zhuyin_instance_t * instance, size_t zhuyin_parse_more_chewings(zhuyin_instance_t * instance,
const char * chewings); const char * chewings);
/** /**
* zhuyin_get_parsed_input_length:
* @instance: the zhuyin instance.
* @returns: the parsed_length of the input.
*
* Get the parsed length of the input.
*
*/
size_t zhuyin_get_parsed_input_length(zhuyin_instance_t * instance);
/**
* zhuyin_in_chewing_keyboard: * zhuyin_in_chewing_keyboard:
* @instance: the zhuyin instance. * @instance: the zhuyin instance.
* @key: the input key. * @key: the input key.
* @symbols: the chewing symbols must be freed by g_strfreev. * @symbols: the chewing symbols must be freed by g_strfreev.
* @returns: whether the key is in current chewing scheme. * @returns: whether the key is in current chewing scheme.
* *
* Check whether the input key is in current chewing scheme. * Check whether the input key is in current chewing scheme.
* *
*/ */
bool zhuyin_in_chewing_keyboard(zhuyin_instance_t * instance, bool zhuyin_in_chewing_keyboard(zhuyin_instance_t * instance,
skipping to change at line 544 skipping to change at line 554
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the string of the candidate. * Get the string of the candidate.
* *
*/ */
bool zhuyin_get_candidate_string(zhuyin_instance_t * instance, bool zhuyin_get_candidate_string(zhuyin_instance_t * instance,
lookup_candidate_t * candidate, lookup_candidate_t * candidate,
const gchar ** utf8_str); const gchar ** utf8_str);
/** /**
* zhuyin_get_n_pinyin: * zhuyin_get_n_zhuyin:
* @instance: the zhuyin instance. * @instance: the zhuyin instance.
* @num: the number of the pinyins. * @num: the number of the pinyins.
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the number of the pinyins. * Get the number of the pinyins.
* *
*/ */
bool zhuyin_get_n_pinyin(zhuyin_instance_t * instance, bool zhuyin_get_n_zhuyin(zhuyin_instance_t * instance,
guint * num); guint * num);
/** /**
* zhuyin_get_pinyin_key: * zhuyin_get_zhuyin_key:
* @instance: the zhuyin instance. * @instance: the zhuyin instance.
* @index: the index of the pinyin key. * @index: the index of the pinyin key.
* @key: the retrieved pinyin key. * @key: the retrieved pinyin key.
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the pinyin key of the index from the pinyin keys. * Get the pinyin key of the index from the pinyin keys.
* *
*/ */
bool zhuyin_get_pinyin_key(zhuyin_instance_t * instance, bool zhuyin_get_zhuyin_key(zhuyin_instance_t * instance,
guint index, guint index,
ChewingKey ** key); ChewingKey ** key);
/** /**
* zhuyin_get_pinyin_key_rest: * zhuyin_get_zhuyin_key_rest:
* @instance: the pinyin index. * @instance: the pinyin index.
* @index: the index of the pinyin key rest. * @index: the index of the pinyin key rest.
* @key_rest: the retrieved pinyin key rest. * @key_rest: the retrieved pinyin key rest.
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the pinyin key rest of the index from the pinyin key rests. * Get the pinyin key rest of the index from the pinyin key rests.
* *
*/ */
bool zhuyin_get_pinyin_key_rest(zhuyin_instance_t * instance, bool zhuyin_get_zhuyin_key_rest(zhuyin_instance_t * instance,
guint index, guint index,
ChewingKeyRest ** key_rest); ChewingKeyRest ** key_rest);
/** /**
* zhuyin_get_pinyin_key_rest_positions: * zhuyin_get_zhuyin_key_rest_positions:
* @instance: the zhuyin instance. * @instance: the zhuyin instance.
* @key_rest: the pinyin key rest. * @key_rest: the pinyin key rest.
* @begin: the begin position of the corresponding pinyin key. * @begin: the begin position of the corresponding pinyin key.
* @end: the end position of the corresponding pinyin key. * @end: the end position of the corresponding pinyin key.
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the positions of the pinyin key rest. * Get the positions of the pinyin key rest.
* *
*/ */
bool zhuyin_get_pinyin_key_rest_positions(zhuyin_instance_t * instance, bool zhuyin_get_zhuyin_key_rest_positions(zhuyin_instance_t * instance,
ChewingKeyRest * key_rest, ChewingKeyRest * key_rest,
guint16 * begin, guint16 * end); guint16 * begin, guint16 * end);
/** /**
* zhuyin_get_pinyin_key_rest_length: * zhuyin_get_zhuyin_key_rest_length:
* @instance: the zhuyin instance. * @instance: the zhuyin instance.
* @key_rest: the pinyin key rest. * @key_rest: the pinyin key rest.
* @length: the length of the corresponding pinyin key. * @length: the length of the corresponding pinyin key.
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the length of the corresponding pinyin key. * Get the length of the corresponding pinyin key.
* *
*/ */
bool zhuyin_get_pinyin_key_rest_length(zhuyin_instance_t * instance, bool zhuyin_get_zhuyin_key_rest_length(zhuyin_instance_t * instance,
ChewingKeyRest * key_rest, ChewingKeyRest * key_rest,
guint16 * length); guint16 * length);
/** /**
* zhuyin_get_raw_full_pinyin: * zhuyin_get_raw_full_pinyin:
* @instance: the zhuyin instance. * @instance: the zhuyin instance.
* @utf8_str: the modified raw full pinyin after choose candidate. * @utf8_str: the modified raw full pinyin after choose candidate.
* @returns: whether the get operation is successful. * @returns: whether the get operation is successful.
* *
* Get the modified raw full pinyin after choose candidate. * Get the modified raw full pinyin after choose candidate.
 End of changes. 11 change blocks. 
10 lines changed or deleted 20 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/