{
#endif
+#if !defined (FOR_DOXYGEN) || defined (DOXYGEN_INTERNAL_MODULE)
extern void m17n_init (void);
#undef M17N_INIT
#define M17N_INIT() m17n_init ()
extern void m17n_fini (void);
#undef M17N_FINI
#define M17N_FINI() m17n_fini ()
+#endif
/***en @defgroup m17nShell SHELL API */
/***ja @defgroup m17nShell ¥·¥§¥ë API */
/***en @defgroup m17nCharset Charset */
/***ja @defgroup m17nCharset ʸ»ú¥»¥Ã¥È */
/*=*/
+
+#if !defined (FOR_DOXYGEN) || defined (DOXYGEN_INTERNAL_MODULE)
#define MCHAR_INVALID_CODE 0xFFFFFFFF
+#endif
/* Predefined charsets */
extern MSymbol Mcharset_ascii;
/* etc. */
extern MSymbol Mcharset;
-extern MSymbol mchar_define_charset (char *name, MPlist *plist);
+extern MSymbol mchar_define_charset (const char *name, MPlist *plist);
extern MSymbol mchar_resolve_charset (MSymbol symbol);
¤ë¡£
m17n ¥é¥¤¥Ö¥é¥ê¤Ï¤³¤Î¥¿¥¤¥×ÍѤΥ¨¥ó¥³¡¼¥É¡¿¥Ç¥³¡¼¥É¥ë¡¼¥Æ¥£¥ó
- ¤òÄ󶡤·¤Ê¤¤¤Î¤Ç¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¦¤Ç¤½¤ì¤é¤ò½àÈ÷¤¹
+ ¤òÄ󶡤·¤Ê¤¤¤Î¤Ç¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¦¤Ç½àÈ÷¤¹
¤ëɬÍפ¬¤¢¤ë¡£ */
MCODING_TYPE_MISC
/*** @ingroup m17nConv */
/***en
- @brief Structure for a coding system of type MCODING_TYPE_ISO_2022.
+ @brief Structure for a coding system of type #MCODING_TYPE_ISO_2022.
Structure for extra information about a coding system of type
MCODING_TYPE_ISO_2022. */
/***ja
- @brief MCODING_TYPE_ISO_2022 ¥¿¥¤¥×¤Î¥³¡¼¥É·Ï¤ÇɬÍפÊÉղþðÊóÍѹ½Â¤ÂÎ.
+ @brief #MCODING_TYPE_ISO_2022 ¥¿¥¤¥×¤Î¥³¡¼¥É·Ï¤ÇɬÍפÊÉղþðÊóÍѹ½Â¤ÂÎ.
MCODING_TYPE_ISO_2022 ¥¿¥¤¥×¤Î¥³¡¼¥É·Ï¤ÇɬÍפÊÉղþðÊóÍѤòÊÝ»ý¤¹¤ë
¤¿¤á¤Î¹½Â¤ÂΡ£
*/
/***ja
- @brief MCODING_TYPE_UTF ¥¿¥¤¥×¤Î¥³¡¼¥É·Ï¤ÇɬÍפÊÉղþðÊóÍѤι½Â¤ÂÎ.
+ @brief #MCODING_TYPE_UTF ¥¿¥¤¥×¤Î¥³¡¼¥É·Ï¤ÇɬÍפÊÉղþðÊóÍѤι½Â¤ÂÎ.
@latexonly \IPApage{MCodingInfoUTF} @endlatexonly
} MCodingInfoUTF;
/*=*/
-extern MSymbol mconv_define_coding (char *name, MPlist *plist,
+extern MSymbol mconv_define_coding (const char *name, MPlist *plist,
int (*resetter) (MConverter *),
- int (*decoder) (unsigned char *, int,
+ int (*decoder) (const unsigned char *, int,
MText *, MConverter *),
int (*encoder) (MText *, int, int,
unsigned char *, int,
/***ja @defgroup m17nLocale ¥í¥±¡¼¥ë */
/*=*/
+/*** @ingroup m17nLocale */
/***en
@brief @c struct @c MLocale.
/*=*/
/*** @ingroup m17nShell */
/***en @defgroup m17nInputMethod Input Method (basic) */
-/***ja @defgroup m17nInputMethod ÆþÎϥ᥽¥Ã¥É (´ðËÜ) */
+/***ja @defgroup m17nInputMethod ÆþÎϥ᥽¥Ã¥É (´ðËÜÉôʬ) */
/*=*/
+/*** @addtogroup m17nInputMethod
+ @{ */
+
/* Struct forward declaration. */
typedef struct MInputMethod MInputMethod;
typedef struct MInputContext MInputContext;
-/*** @ingroup m17nInputMethod */
-
/***en
@brief Type of input method callback functions.
#Minput_preedit_done, #Minput_status_start, #Minput_status_draw,
#Minput_status_done, #Minput_candidates_start,
#Minput_candidates_draw, #Minput_candidates_done,
- #Minput_set_spot, and #Minput_toggle. Values are functions of
- type #MInputCallbackFunc. */
+ #Minput_set_spot, #Minput_toggle, #Minput_reset.
+ Values are functions of type #MInputCallbackFunc. */
/***ja
@brief ¥³¡¼¥ë¥Ð¥Ã¥¯´Ø¿ô¤Î¥ê¥¹¥È.
#Minput_preedit_done, #Minput_status_start, #Minput_status_draw,
#Minput_status_done, #Minput_candidates_start,
#Minput_candidates_draw, #Minput_candidates_done,
- #Minput_set_spot, #Minput_toggle¡£ ÃͤÏ#MInputCallbackFunc ·¿¤Î
- ´Ø¿ô¡£. */
+ #Minput_set_spot, #Minput_toggle, #Minput_reset¡£
+ ÃͤÏ#MInputCallbackFunc ·¿¤Î´Ø¿ô¡£ */
MPlist *callback_list;
} MInputDriver;
extern MSymbol Minput_candidates_done;
extern MSymbol Minput_set_spot;
extern MSymbol Minput_toggle;
+extern MSymbol Minput_reset;
/***en
@brief Structure of input method.
extern void minput_toggle (MInputContext *ic);
-extern MSymbol minput_char_to_key (int c);
-
+extern void minput_reset_ic (MInputContext *ic);
/*=*/
+/*** @} */
extern MInputMethod *mdebug_dump_im (MInputMethod *im, int indent);
+
#ifdef __cplusplus
}
#endif