From: handa Date: Wed, 30 Jun 2004 02:53:04 +0000 (+0000) Subject: Include . X-Git-Tag: withdl~2 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da4df4bca66c0e85bb39f7d4a37bea64b74ba6c;p=m17n%2Fm17n-lib.git Include . (m17n_init_X): Extern it. (M17N_INIT): Redefine it. --- diff --git a/src/m17n-X.h b/src/m17n-X.h index c2b74b7..4bc4c3e 100644 --- a/src/m17n-X.h +++ b/src/m17n-X.h @@ -27,11 +27,27 @@ #include #include +#ifndef _M17N_GUI_H_ +#include +#endif + #ifdef __cplusplus extern "C" { #endif +extern int m17n_init_X (void); +#undef M17N_INIT_X +#define M17N_INIT_X() m17n_init_X () + +#undef M17N_INIT +#define M17N_INIT() \ + do { \ + if (m17n_init_win () < 0) break; \ + if (M17N_INIT_GD () < 0) break; \ + M17N_INIT_X (); \ + } while (0) + /* For inputting. */ extern MInputDriver minput_xim_driver; @@ -83,7 +99,8 @@ typedef struct /***ja XSetLocaleModifiers () ¤Î°ú¿ô */ char *modifier_list; } MInputXIMArgIM; - /*=*/ + +/*=*/ /*** @ingroup m17nInputMethodWin */ /***en