/usr/include/m17n-X.h is in libm17n-dev 1.6.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | /* m17n-X.h -- header file for the GUI API on X Windows.
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
National Institute of Advanced Industrial Science and Technology (AIST)
Registration Number H15PRO112
This file is part of the m17n library.
The m17n library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
The m17n library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
02111-1307, USA. */
#ifndef _M17N_X_H_
#define _M17N_X_H_
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xresource.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* For inputting. */
extern MInputDriver minput_xim_driver;
extern MSymbol Mxim;
/*** @ingroup m17nInputMethodWin */
/***en
@brief Structure pointed to by the argument $ARG of the function minput_open_im ().
The type #MInputXIMArgIM is the structure pointed to by the
argument $ARG of the function minput_open_im () for the foreign
input method of name #Mxim. */
/***ja
@brief ´Ø¿ô minput_open_im () ¤Î°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂÎ.
#MInputXIMArgIM ·¿¤Ï¡¢´Ø¿ô minput_open_im () ¤¬Ì¾Á° #Mxim
¤ò»ý¤Ä³°ÉôÆþÎϥ᥽¥Ã¥É¤òÀ¸À®¤¹¤ëºÝ¤Ë°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂΤǤ¢¤ë¡£ */
typedef struct
{
/***en The meaning of the following four members are the same as
arguments to XOpenIM (). */
/***ja °Ê²¼¤Î£´¤Ä¤Î¥á¥ó¥Ð¤Î°ÕÌ£¤Ï¡¢XOpenIM () ¤Î°ú¿ô¤Î°ÕÌ£¤ÈƱ¤¸¤Ç¤¢¤ë. */
/***en Display of the client. */
/***ja ¥¯¥é¥¤¥¢¥ó¥È¤Î¥Ç¥£¥¹¥×¥ì¥¤. */
Display *display;
/***en Pointer to the X resource database. */
/***ja X ¥ê¥½¡¼¥¹¡¦¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤Î¥Ý¥¤¥ó¥¿. */
XrmDatabase db;
/***en Full class name of the application. */
/***ja ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î´°Á´¤Ê¥¯¥é¥¹Ì¾. */
char *res_class;
/***en Full resource name of the application. */
/***ja ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î´°Á´¤Ê¥ê¥½¡¼¥¹Ì¾. */
char *res_name;
/***en Locale name under which an XIM is opened. */
/***ja XIM¤¬¥ª¡¼¥×¥ó¤µ¤ì¤¿¥í¥±¡¼¥ë̾. */
char *locale;
/***en Arguments to XSetLocaleModifiers (). */
/***ja XSetLocaleModifiers () ¤Î°ú¿ô. */
char *modifier_list;
} MInputXIMArgIM;
/*=*/
/*** @ingroup m17nInputMethodWin */
/***en
@brief Structure pointed to by the argument $ARG of the function minput_create_ic ().
The type #MInputXIMArgIC is the structure pointed to by the
argument $ARG of the function minput_create_ic () for the foreign
input method of name #Mxim. */
/***ja
@brief ´Ø¿ô minput_create_ic () ¤Î°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂÎ.
#MInputXIMArgIC ·¿¤Ï¡¢´Ø¿ô minput_create_ic () ¤¬Ì¾Á° #Mxim
¤ò»ý¤Ä³°ÉôÆþÎϥ᥽¥Ã¥ÉÍѤ˸ƤФì¤ëºÝ¤Ë¡¢°ú¿ô $ARG ¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤ë¹½Â¤ÂΤǤ¢¤ë¡£ */
typedef struct
{
/***en Used as the arguments of @c XCreateIC following @c
XNInputStyle. If this is zero, ( @c XIMPreeditNothing | @c
XIMStatusNothing) is used, and \<preedit_attrs\> and
\<status_attrs\> are set to @c NULL. */
/***ja @c XCreateIC ¤Î @c XNInputStyle ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£
¥¼¥í¤Ê¤é¤Ð¡¢ ( @c XIMPreeditNothing | @c XIMStatusNothing) ¤¬ÍÑ
¤¤¤é¤ì¡¢ \<preedit_attrs\> ¤È \<status_attrs\> ¤Ï @c NULL
¤ËÀßÄꤵ¤ì¤ë¡£ */
XIMStyle input_style;
/***en Used as the argument of @c XCreateIC following @c XNClientWindow. */
/***ja @c XCreateIC ¤Î @c XNClientWindow ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
Window client_win;
/***en Used as the argument of @c XCreateIC following @c XNFocusWindow. */
/***ja @c XCreateIC ¤Î @c XNFocusWindow ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
Window focus_win;
/***en If non- @c NULL, used as the argument of @c XCreateIC following
@c XNPreeditAttributes. */
/***ja @c NULL ¤Ç¤Ê¤±¤ì¤Ð¡¢ @c XCreateIC following ¤Î@c
XNPreeditAttributes ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
XVaNestedList preedit_attrs;
/***en If non- @c NULL, used as the argument of @c XCreateIC following
@c XNStatusAttributes. */
/***ja @c NULL ¤Ç¤Ê¤±¤ì¤Ð¡¢ @c XCreateIC following ¤Î @c
XNStatusAttributes ¤Ë³¤¯°ú¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¡£ */
XVaNestedList status_attrs;
} MInputXIMArgIC;
/*=*/
#ifdef __cplusplus
}
#endif
#endif /* not _M17N_X_H_ */
/*
Local Variables:
coding: euc-japan
End:
*/
|