From: handa Date: Mon, 7 Nov 2005 12:55:18 +0000 (+0000) Subject: (Minput_get_surrounding_text, Minput_delete_surrounding_text): X-Git-Tag: REL-1-3-0~93 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7eb701c03361f41cdbfdb63b044cd43d62b5f5;p=m17n%2Fm17n-lib.git (Minput_get_surrounding_text, Minput_delete_surrounding_text): Extern them. --- diff --git a/src/m17n.h b/src/m17n.h index e624822..53bfe5e 100644 --- a/src/m17n.h +++ b/src/m17n.h @@ -1104,6 +1104,8 @@ extern MSymbol Minput_candidates_done; extern MSymbol Minput_set_spot; extern MSymbol Minput_toggle; extern MSymbol Minput_reset; +extern MSymbol Minput_get_surrounding_text; +extern MSymbol Minput_delete_surrounding_text; /** Symbols for special input key event. */ extern MSymbol Minput_focus_move; @@ -1325,15 +1327,16 @@ struct MInputContext int candidates_changed; /***en Plist that can be freely used by ->driver functions. - The driver of internal input method never use it. The function + The driver of internal input method uses it to exchange extra + arguments and result for callback functions. The function ->driver.create_ic () sets this to an empty plist, and the function ->driver.destroy_ic () frees it by using m17n_object_unref (). */ /***ja ->driver ¤Î´Ø¿ô·²¤Ë¤è¤Ã¤Æ¼«Í³¤Ë»ÈÍѤǤ­¤ë plist¡£ - ÆâÉôÆþÎϥ᥽¥Ã¥ÉÍѥɥ饤¥Ð¤Ï¤³¤ì¤ò»ÈÍѤ·¤Ê¤¤¡£´Ø¿ô - ->driver.create_ic () ¤Ï¤³¤Î plist ¤ò¶õ¤ËÀßÄꤹ¤ë¡£´Ø¿ô - ->driver.destroy_ic () ¤Ï m17n_object_unref () ¤òÍѤ¤¤Æ¤³¤Î - plist ¤ò²òÊü¤¹¤ë¡£ */ + ÆâÉôÆþÎϥ᥽¥Ã¥ÉÍѥɥ饤¥Ð¤Ï¤³¤ì¤ò¥³¡¼¥ë¥Ð¥Ã¥¯´Ø¿ô¤È¤Î°ú¿ô¤äÊÖÃÍ + ¤Î¼õÅϤ·¤Ë»ÈÍѤ¹¤ë¡£´Ø¿ô ->driver.create_ic () ¤Ï¤³¤Î plist + ¤ò¶õ¤ËÀßÄꤹ¤ë¡£´Ø¿ô->driver.destroy_ic () ¤Ï + m17n_object_unref () ¤òÍѤ¤¤Æ¤³¤Î plist ¤ò²òÊü¤¹¤ë¡£ */ MPlist *plist; };