From b94346641049e41d8ce13c978989dac73976d9bf Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 3 Dec 2004 00:17:08 +0000 Subject: [PATCH] (enum M17NStatus): New enum. (m17n_status): Extern it. --- src/m17n-core.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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 */ /*=*/ -- 1.7.10.4