From: handa Date: Fri, 3 Dec 2004 00:17:08 +0000 (+0000) Subject: (enum M17NStatus): New enum. X-Git-Tag: REL-1-2-0~77 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94346641049e41d8ce13c978989dac73976d9bf;p=m17n%2Fm17n-lib.git (enum M17NStatus): New enum. (m17n_status): Extern it. --- diff --git a/src/m17n-core.h b/src/m17n-core.h index 365daa6..e6b356f 100644 --- a/src/m17n-core.h +++ b/src/m17n-core.h @@ -48,6 +48,34 @@ extern void m17n_init_core (void); extern void m17n_fini_core (void); #define M17N_FINI() m17n_fini_core () +/*=*/ + +/*** @addtogroup m17nIntro */ +/*** @{ */ + +/***en + @brief Enumeration for the status of the m17n librarry. + + The enum #MTextFormat is used as a return value of the function + m17n_status (). */ + +enum M17NStatus + { + /***en No modules is initialized, and all modules are finalized. */ + M17N_NOT_INITIALIZED, + /***en Only the modules in CORE API are initialized. */ + M17N_CORE_INITIALIZED, + /***en Only the modules in CORE and SHELL APIs are initialized. */ + M17N_SHELL_INITIALIZED, + /***en All modules are initialized. */ + M17N_GUI_INITIALIZED + }; + +/*** @} */ +/*=*/ + +extern enum M17NStatus m17n_status (void); + /***en @defgroup m17nCore CORE API */ /***ja @defgroup m17nCore ¥³¥¢ API */ /*=*/