Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs | Enumerations
koinput.h File Reference
#include <X11/Xmd.h>
#include <IMProtocolStruct.h>
#include "aux-message.h"
#include "le-options.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _Option_Pair
struct  _UserPreference
struct  _IMEKeyEventStruct
struct  IMEBaseRec
struct  IMEArgRec
struct  IMEArgListRec
struct  IMEEnvListRec
struct  IMEKeyMapRec
struct  IMEHotKeyRec
struct  IMECoreRec
struct  _IMEBufferWhatToDo
struct  _IMEBufferMethodsRec
struct  IMEEngineRec
struct  IMEListRec
struct  _SessionProperty
union  _Option_Pair.value

Defines

#define _(String)   (String)
#define N_(String)   String
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#define MAX_SESSION   1024
#define IMM_NOT_USED_KEY   0
#define IMM_USED_KEY   1
#define FULL_HALF_WIDTH_SWITCH_KEY   2
#define HEX_INPUT_IN_EUC_MODE_KEY   3
#define HEX_INPUT_IN_UTF8_MODE_KEY   4
#define ENGLISH_KOREAN_SWITCH_KEY   5
#define SYMBOL_INPUT_MODE_KEY   6
#define HANJA_CONVERSION_DEFAULT_KEY   20
#define HANJA_CONVERSION_HANJA_KEY   21
#define HANJA_CONVERSION_HANGUL_HANJA_KEY   22
#define HANJA_CONVERSION_HANJA_HANGUL_KEY   23
#define KEYBOARD_LAYOUT_TOGGLE_KEY   30
#define IME_NOT_USED_KEY   0
#define IME_USED_KEY   1
#define ESC_KEY   2
#define BACKSPACE_KEY   3
#define RETURN_KEY   4
#define INSERT_KEY   5
#define DELETE_KEY   6
#define HOME_KEY   7
#define END_KEY   8
#define PAGEUP_KEY   9
#define PAGEDOWN_KEY   10
#define SPACE_KEY   0x20
#define MAX_CANDIDATES_NUM   16
#define MAX_INPUT_KEY_NUM   256
#define MAX_PREEDIT_CHAR_NUM   256
#define MAX_CANDIDATE_CHAR_NUM   256
#define MAX_STATUS_CHAR_NUM   256
#define MAX_COMMIT_CHAR_NUM   512
#define MAX_KEYMAP_KEY_NUM   95
#define IME_PREEDIT_AREA   1
#define IME_LOOKUP_AREA   2
#define IME_STATUS_AREA   4
#define IME_COMMIT   8
#define ENGINE_NOT_INSTALLED   1
#define ENGINE_NOT_INITIATED   2
#define ENGINE_INITIATED   3
#define DEFAULT_ENGINE_PATH   "/usr/lib/iiim/le/kole/input_methods"
#define DEFAULT_DICT_PATH   "data"
#define COMMON_ENGINE_PATH   "common"
#define LANGNAME   "ko_KR"
#define DEFAULT_DICT_NAME   "hhdict"
#define CODETABLE_ENGINE_NAME   "ctim"
#define USER_PROFILE_PATH   ".Xlocale"
#define USER_PROFILE_NAME   "ime.cfg"
#define SYSTEM_PROFILE_NAME   "sysime.cfg"
#define USER_OPTION_FILE_NAME   "options.cfg"
#define NUMERIC_LABEL   0
#define LOWER_LABEL   1
#define UPPER_LABEL   2
#define MAX_ENGINE_NUM   127
#define MAX_NAME_LEN   16
#define MAX_OPTION_NUM   6
#define MAX_ARGS_NUM   10
#define IME_ROUND_SWITCH   0
#define IME_SELECT_SWITCH   1
#define KEYBOARD_2BEOLSIK   "2国侥"
#define KEYBOARD_3BEOLSIK_390   "3国侥 390"
#define KEYBOARD_3BEOLSIK_FINAL   "3国侥 弥辆"

Typedefs

typedef enum _KEYBOARD_T KEYBOARD_T
typedef enum _option_type option_type
typedef struct _Option_Pair Option_Pair
typedef enum _keyboard_layout keyboard_layout
typedef struct _UserPreference UserPreference
typedef struct _IMEKeyEventStruct
typedef struct * IMEKeyEvent
typedef enum _INPUT_MODE_T INPUT_MODE_T
typedef struct IMEBaseRecIMEBase
typedef struct IMEArgRecIMEArg
typedef struct IMEArgListRecIMEArgList
typedef struct IMEEnvListRecIMEEnvList
typedef struct IMEKeyMapRecIMEKeyMap
typedef struct IMEHotKeyRecIMEHotKey
typedef struct IMECoreRecIMECore
typedef struct _IMEBufferRec
typedef struct * IMEBuffer
typedef struct _IMEBufferMethodsRec
typedef struct * IMEBufferMethods
typedef struct _IMEBufferWhatToDo
typedef struct IMEEngineRecIMEEngine
typedef struct _SessionProperty

Enumerations

enum  CONVERSION_STATUS_T { CONVERSION_OFF = 0, CONVERSION_ON = 1 }
enum  _KEYBOARD_T { KEYBOARD_LAYOUT_2BEOLSIK = 0, KEYBOARD_LAYOUT_3BEOLSIK_390 = 1, KEYBOARD_LAYOUT_3BEOLSIK_FINAL = 2 }
enum  _option_type { type_pchar, type_int }
enum  conversion_key_sequence {
  ctrl_q = 0, ctrl_h, ctrl_e, ctrl_r,
  ctrl_x, ctrl_shift_x
}
enum  conversion_format { hanja_only = 0, hangul_hanja, hanja_hangul }
enum  _keyboard_layout { KBD_LAYOUT_2BEOLSIK = 0, KBD_LAYOUT_3BEOLSIK_390, KBD_LAYOUT_3BEOLSIK_FINAL }
enum  _INPUT_MODE_T {
  INPUT_MODE_NONE = -1, INPUT_MODE_ENGLISH, INPUT_MODE_HANGUL, INPUT_MODE_HANJA,
  INPUT_MODE_HEX_EUC, INPUT_MODE_HEX_UTF8, INPUT_MODE_SYMBOL_MENU, INPUT_MODE_SYMBOL
}

Class Documentation

struct _Option_Pair

Definition at line 153 of file koinput.h.

Class Members
char * option_name
option_type type
union _Option_Pair value
struct _UserPreference

Definition at line 186 of file koinput.h.

Class Members
int auto_commit_on_char_basis
int auto_commit_on_single_candidate_conversion
int conversion_format
char * ime_user_home
int ime_user_id
int keyboard_layout
struct _IMEKeyEventStruct

Definition at line 208 of file koinput.h.

Class Members
int key_char
int key_code
int key_modifier
struct IMEBaseRec

Definition at line 226 of file koinput.h.

Class Members
char * cname
char * ename
CARD8 encode_id
CARD8 engine_id
char * kname
char * lname
CARD8 locale_id
CARD8 status
struct IMEArgRec

Definition at line 239 of file koinput.h.

Class Members
char * name
CARD8 type
CARD8 value
struct IMEArgListRec

Definition at line 245 of file koinput.h.

Collaboration diagram for IMEArgListRec:
Class Members
IMEArgRec args
int args_num
struct IMEEnvListRec

Definition at line 251 of file koinput.h.

Class Members
char * data_path
char * data_ptr
char * lang_name
char * locale_name
CARD8 output_encode_id
struct IMEKeyMapRec

Definition at line 260 of file koinput.h.

Class Members
char bSet
char * keymap
struct IMEHotKeyRec

Definition at line 265 of file koinput.h.

Class Members
IMEKeyEventStruct ** keylist
int n_count
struct IMECoreRec

Definition at line 271 of file koinput.h.

Collaboration diagram for IMECoreRec:
Class Members
IMEArgListRec argsinfo
IMEBaseRec baseinfo
IMEEnvListRec envinfo
IMEHotKeyRec hotkeys
IMEKeyMapRec keymapinfo
struct _IMEBufferWhatToDo

Definition at line 282 of file koinput.h.

Class Members
Bool do_commit
Bool do_lookup
Bool do_preedit
Bool do_sendback
Bool do_status
struct IMEEngineRec

Definition at line 331 of file koinput.h.

Collaboration diagram for IMEEngineRec:
Class Members
IMECoreRec core
void * so_handler
IMEBufferMethods so_methods
IMEMethods so_methods
struct IMEListRec

Definition at line 337 of file koinput.h.

Collaboration diagram for IMEListRec:
Class Members
IMEBaseRec * arrIME_Base
int nIME_Num
struct _SessionProperty

Definition at line 344 of file koinput.h.

Class Members
int count
KOLE_config * pconfig
union _Option_Pair.value

Definition at line 156 of file koinput.h.

Class Members
int integer_value
char * string_value

Define Documentation

#define _ (   String)    (String)

Definition at line 13 of file koinput.h.

#define BACKSPACE_KEY   3

Definition at line 48 of file koinput.h.

#define bindtextdomain (   Package,
  Directory 
)

Definition at line 16 of file koinput.h.

#define CODETABLE_ENGINE_NAME   "ctim"

Definition at line 85 of file koinput.h.

#define COMMON_ENGINE_PATH   "common"

Definition at line 81 of file koinput.h.

#define DEFAULT_DICT_NAME   "hhdict"

Definition at line 83 of file koinput.h.

#define DEFAULT_DICT_PATH   "data"

Definition at line 80 of file koinput.h.

#define DEFAULT_ENGINE_PATH   "/usr/lib/iiim/le/kole/input_methods"

Definition at line 79 of file koinput.h.

#define DELETE_KEY   6

Definition at line 51 of file koinput.h.

#define END_KEY   8

Definition at line 53 of file koinput.h.

#define ENGINE_INITIATED   3

Definition at line 77 of file koinput.h.

#define ENGINE_NOT_INITIATED   2

Definition at line 76 of file koinput.h.

#define ENGINE_NOT_INSTALLED   1

Definition at line 75 of file koinput.h.

#define ENGLISH_KOREAN_SWITCH_KEY   5

Definition at line 31 of file koinput.h.

#define ESC_KEY   2

Definition at line 47 of file koinput.h.

Definition at line 28 of file koinput.h.

Definition at line 33 of file koinput.h.

Definition at line 35 of file koinput.h.

Definition at line 36 of file koinput.h.

#define HANJA_CONVERSION_HANJA_KEY   21

Definition at line 34 of file koinput.h.

#define HEX_INPUT_IN_EUC_MODE_KEY   3

Definition at line 29 of file koinput.h.

Definition at line 30 of file koinput.h.

#define HOME_KEY   7

Definition at line 52 of file koinput.h.

#define IME_COMMIT   8

Definition at line 73 of file koinput.h.

#define IME_LOOKUP_AREA   2

Definition at line 71 of file koinput.h.

#define IME_NOT_USED_KEY   0

Definition at line 45 of file koinput.h.

#define IME_PREEDIT_AREA   1

Definition at line 70 of file koinput.h.

#define IME_ROUND_SWITCH   0

Definition at line 112 of file koinput.h.

#define IME_SELECT_SWITCH   1

Definition at line 113 of file koinput.h.

#define IME_STATUS_AREA   4

Definition at line 72 of file koinput.h.

#define IME_USED_KEY   1

Definition at line 46 of file koinput.h.

#define IMM_NOT_USED_KEY   0

Definition at line 26 of file koinput.h.

#define IMM_USED_KEY   1

Definition at line 27 of file koinput.h.

#define INSERT_KEY   5

Definition at line 50 of file koinput.h.

#define KEYBOARD_2BEOLSIK   "2国侥"

Definition at line 126 of file koinput.h.

#define KEYBOARD_3BEOLSIK_390   "3国侥 390"

Definition at line 127 of file koinput.h.

#define KEYBOARD_3BEOLSIK_FINAL   "3国侥 弥辆"

Definition at line 128 of file koinput.h.

#define KEYBOARD_LAYOUT_TOGGLE_KEY   30

Definition at line 38 of file koinput.h.

#define LANGNAME   "ko_KR"

Definition at line 82 of file koinput.h.

#define LOWER_LABEL   1

Definition at line 92 of file koinput.h.

#define MAX_ARGS_NUM   10

Definition at line 99 of file koinput.h.

#define MAX_CANDIDATE_CHAR_NUM   256

Definition at line 64 of file koinput.h.

#define MAX_CANDIDATES_NUM   16

Definition at line 61 of file koinput.h.

#define MAX_COMMIT_CHAR_NUM   512

Definition at line 66 of file koinput.h.

#define MAX_ENGINE_NUM   127

Definition at line 95 of file koinput.h.

#define MAX_INPUT_KEY_NUM   256

Definition at line 62 of file koinput.h.

#define MAX_KEYMAP_KEY_NUM   95

Definition at line 68 of file koinput.h.

#define MAX_NAME_LEN   16

Definition at line 96 of file koinput.h.

#define MAX_OPTION_NUM   6

Definition at line 98 of file koinput.h.

#define MAX_PREEDIT_CHAR_NUM   256

Definition at line 63 of file koinput.h.

#define MAX_SESSION   1024

Definition at line 19 of file koinput.h.

#define MAX_STATUS_CHAR_NUM   256

Definition at line 65 of file koinput.h.

#define N_ (   String)    String

Definition at line 14 of file koinput.h.

#define NUMERIC_LABEL   0

Definition at line 91 of file koinput.h.

#define PAGEDOWN_KEY   10

Definition at line 55 of file koinput.h.

#define PAGEUP_KEY   9

Definition at line 54 of file koinput.h.

#define RETURN_KEY   4

Definition at line 49 of file koinput.h.

#define SPACE_KEY   0x20

Definition at line 56 of file koinput.h.

#define SYMBOL_INPUT_MODE_KEY   6

Definition at line 32 of file koinput.h.

#define SYSTEM_PROFILE_NAME   "sysime.cfg"

Definition at line 88 of file koinput.h.

#define textdomain (   Domain)

Definition at line 15 of file koinput.h.

#define UPPER_LABEL   2

Definition at line 93 of file koinput.h.

#define USER_OPTION_FILE_NAME   "options.cfg"

Definition at line 89 of file koinput.h.

#define USER_PROFILE_NAME   "ime.cfg"

Definition at line 87 of file koinput.h.

#define USER_PROFILE_PATH   ".Xlocale"

Definition at line 86 of file koinput.h.


Typedef Documentation

typedef struct _IMEBufferMethodsRec

Definition at line 280 of file koinput.h.

typedef struct _IMEBufferRec

Definition at line 279 of file koinput.h.

typedef struct _IMEBufferWhatToDo

Definition at line 281 of file koinput.h.

typedef struct _IMEKeyEventStruct

Definition at line 206 of file koinput.h.

typedef struct _SessionProperty

Definition at line 343 of file koinput.h.

typedef struct IMEArgRec * IMEArg
typedef struct IMEArgListRec * IMEArgList
typedef struct IMEBaseRec * IMEBase
typedef struct * IMEBuffer

Definition at line 279 of file koinput.h.

typedef struct * IMEBufferMethods

Definition at line 280 of file koinput.h.

typedef struct IMECoreRec * IMECore
typedef struct IMEEngineRec * IMEEngine
typedef struct IMEEnvListRec * IMEEnvList
typedef struct IMEHotKeyRec * IMEHotKey
typedef struct * IMEKeyEvent

Definition at line 206 of file koinput.h.

typedef struct IMEKeyMapRec * IMEKeyMap
typedef enum _KEYBOARD_T KEYBOARD_T
typedef struct _Option_Pair Option_Pair
typedef enum _option_type option_type

Enumeration Type Documentation

Enumerator:
INPUT_MODE_NONE 
INPUT_MODE_ENGLISH 
INPUT_MODE_HANGUL 
INPUT_MODE_HANJA 
INPUT_MODE_HEX_EUC 
INPUT_MODE_HEX_UTF8 
INPUT_MODE_SYMBOL_MENU 
INPUT_MODE_SYMBOL 

Definition at line 214 of file koinput.h.

Enumerator:
KBD_LAYOUT_2BEOLSIK 
KBD_LAYOUT_3BEOLSIK_390 
KBD_LAYOUT_3BEOLSIK_FINAL 

Definition at line 180 of file koinput.h.

Enumerator:
KEYBOARD_LAYOUT_2BEOLSIK 
KEYBOARD_LAYOUT_3BEOLSIK_390 
KEYBOARD_LAYOUT_3BEOLSIK_FINAL 

Definition at line 120 of file koinput.h.

Enumerator:
type_pchar 
type_int 

Definition at line 149 of file koinput.h.

Enumerator:
hanja_only 
hangul_hanja 
hanja_hangul 

Definition at line 174 of file koinput.h.

Enumerator:
ctrl_q 
ctrl_h 
ctrl_e 
ctrl_r 
ctrl_x 
ctrl_shift_x 

Definition at line 163 of file koinput.h.

                             {
  ctrl_q = 0,
  ctrl_h,
  ctrl_e,
  ctrl_r,
  /*
    ctrl_w,
  */
  ctrl_x,
  ctrl_shift_x
};
Enumerator:
CONVERSION_OFF 
CONVERSION_ON 

Definition at line 105 of file koinput.h.