Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs
UDEngine.h File Reference
#include "CodeTable.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _im_data
struct  im_buffer
struct  _engine_info

Defines

#define MAX_SESSION   512
#define MAX_CANDIDATE   40
#define MAX_CHAR_PREEDIT   13
#define MAX_CHAR_COMMIT   25
#define IM_NAME_LEN   16
#define CIM_INTERM   0
#define CIM_COMMIT   1
#define CIM_BOUNCEKEY   2
#define CIM_COMMITSYMBOL   6
#define CIM_STATUS   8
#define USE_HTT_LABEL   0
#define NUMERIC_LABEL   1
#define LOWER_LABEL   2
#define UPPER_LABEL   3
#define QUANJIAO_ON   0
#define QUANJIAO_OFF   1
#define QUANJIAO_STR   "/ȫ\0"
#define BANJIAO_STR   "/\0"
#define LOOKUP_CHOICE   0
#define PRE_EDIT   1
#define PAGEUP   0
#define PAGEDOWN   1
#define PUNCTUATION_STATUS   1
#define SOFTKEYBOARD_LAYOUT   2
#define GBKSWITCH_STATUS   3
#define IM_STATUS   1
#define Mode   buffer[session_id]->mode
#define IM_Status   buffer[session_id]->status
#define Preedit_Buf   buffer[session_id]->preedit
#define Preedit_Len   buffer[session_id]->preedit_len
#define Inbuf   buffer[session_id]->inbuf
#define Inbuf_Len   buffer[session_id]->inbuf_len
#define Commit_Buf   buffer[session_id]->commit
#define WildChar_Pos   buffer[session_id]->wildchar_pos
#define Candidate   buffer[session_id]->candidate
#define First_Candidate   buffer[session_id]->candidate_low
#define Last_Candidate   buffer[session_id]->candidate_high
#define S_Pointer   buffer[session_id]->search_pointer
#define S_Direction   buffer[session_id]->search_direction
#define LUC_Low   buffer[session_id]->lookupchoice_low
#define LUC_High   buffer[session_id]->lookupchoice_high
#define LUC_Number   buffer[session_id]->lookupchoice_number
#define This_Operation   buffer[session_id]->this_operation
#define Input_Method   buffer[session_id]->input_method
#define Quanjiao   buffer[session_id]->quanjiao
#define PERIOD   0xa1a3 /* . */
#define COMMAM   0xa3ac /* , */
#define EXCLMM   0xa3a1 /* ! */
#define COLONM   0xa3ba /* : */
#define HYPHEN   0xa3ad /* - */
#define CARETM   0xa3de /* ^ */
#define DSPACE   0xa1a1 /* */
#define LPARNT   0xa3a8 /* ( */
#define RPARNT   0xa3a9 /* ) */
#define LCUBRT   0xa3fb /* { */
#define RCUBRT   0xa3fd /* } */
#define LSQBRT   0xa3db /* [ */
#define RSQBRT   0xa3dd /* ] */
#define SNGQUO   0xa1e4 /* ' */
#define ACCENT   0xa3e0 /* ` */
#define DBLQUO   0xa1e5 /* " */
#define AMPERS   0xa3a6 /* & */
#define COMMAT   0xa3c0 /* @ */
#define SOLDUS   0xa1a2 /* / 0xa3af*/
#define SEMCLN   0xa3bb /* ; */
#define QUESTM   0xa3bf /* ? */
#define LESSTH   0xa3bc /* < */
#define GREATH   0xa3be /* > */
#define VERBAR   0xa3fc /* | */
#define EQUALS   0xa3bd /* = */
#define SGNNUM   0xa3a3 /* # */
#define DALLAR   0xa3a4 /* $ */
#define PERCNT   0xa3a5 /* % */
#define SGNSTR   0xa3aa /* * */
#define UNDSCR   0xa3df /* _ */
#define BCKSLH   0xa3dc /* \ */
#define STILDE   0xa1ab /* ~ */
#define SGNADD   0xa3ab /* + */
#define DIGITS   0xa3b0 /* 0-9 */
#define UPPERS   0xa3c1 /* A-Z */
#define LOWERS   0xa3e1 /* a-z */
#define CTRL_F   6
#define CTRL_P   16
#define CTRL_N   14

Typedefs

typedef struct _im_data im_data
typedef struct _engine_info engine_info

Class Documentation

struct _im_data

Definition at line 69 of file NewPY.h.

Class Members
int caret_pos
char commit_str
int error_num
int labeltype
int luc_num
char luc_str
int operation
unsigned char pre_str
char status_str
struct im_buffer

Definition at line 128 of file UDEngine.h.

Class Members
char * candidate
int candidate_high
int candidate_low
char commit
char inbuf
short int inbuf_len
int input_method
int lookupchoice_high
int lookupchoice_low
int lookupchoice_number
int mode
char preedit
short int preedit_len
int quanjiao
int search_direction
int search_pointer
char status
int this_operation
short int wildchar_pos
struct _engine_info

Definition at line 154 of file UDEngine.h.

Collaboration diagram for _engine_info:
Class Members
code_table * c_tab
char ct_file
char * data
char del_pe_char
char del_pe_str
char locale
char name
char next_choice
char prev_choice
char status_native
char symbol
table_index tab_idx
char wild_char

Define Documentation

#define ACCENT   0xa3e0 /* ` */

Definition at line 190 of file UDEngine.h.

#define AMPERS   0xa3a6 /* & */

Definition at line 193 of file UDEngine.h.

#define BANJIAO_STR   "/\0"

Definition at line 76 of file UDEngine.h.

#define BCKSLH   0xa3dc /* \ */

Definition at line 208 of file UDEngine.h.

#define Candidate   buffer[session_id]->candidate

Definition at line 116 of file UDEngine.h.

#define CARETM   0xa3de /* ^ */

Definition at line 179 of file UDEngine.h.

#define CIM_BOUNCEKEY   2

Definition at line 59 of file UDEngine.h.

#define CIM_COMMIT   1

Definition at line 58 of file UDEngine.h.

#define CIM_COMMITSYMBOL   6

Definition at line 60 of file UDEngine.h.

#define CIM_INTERM   0

Definition at line 57 of file UDEngine.h.

#define CIM_STATUS   8

Definition at line 61 of file UDEngine.h.

#define COLONM   0xa3ba /* : */

Definition at line 177 of file UDEngine.h.

#define COMMAM   0xa3ac /* , */

Definition at line 175 of file UDEngine.h.

#define COMMAT   0xa3c0 /* @ */

Definition at line 194 of file UDEngine.h.

#define Commit_Buf   buffer[session_id]->commit

Definition at line 114 of file UDEngine.h.

#define CTRL_F   6

Definition at line 218 of file UDEngine.h.

#define CTRL_N   14

Definition at line 220 of file UDEngine.h.

#define CTRL_P   16

Definition at line 219 of file UDEngine.h.

#define DALLAR   0xa3a4 /* $ */

Definition at line 204 of file UDEngine.h.

#define DBLQUO   0xa1e5 /* " */

Definition at line 191 of file UDEngine.h.

#define DIGITS   0xa3b0 /* 0-9 */

Definition at line 212 of file UDEngine.h.

#define DSPACE   0xa1a1 /* */

Definition at line 180 of file UDEngine.h.

#define EQUALS   0xa3bd /* = */

Definition at line 201 of file UDEngine.h.

#define EXCLMM   0xa3a1 /* ! */

Definition at line 176 of file UDEngine.h.

#define First_Candidate   buffer[session_id]->candidate_low

Definition at line 117 of file UDEngine.h.

#define GBKSWITCH_STATUS   3

Definition at line 88 of file UDEngine.h.

#define GREATH   0xa3be /* > */

Definition at line 199 of file UDEngine.h.

#define HYPHEN   0xa3ad /* - */

Definition at line 178 of file UDEngine.h.

#define IM_NAME_LEN   16

Definition at line 53 of file UDEngine.h.

#define IM_STATUS   1

Definition at line 89 of file UDEngine.h.

#define IM_Status   buffer[session_id]->status

Definition at line 109 of file UDEngine.h.

#define Inbuf   buffer[session_id]->inbuf

Definition at line 112 of file UDEngine.h.

#define Inbuf_Len   buffer[session_id]->inbuf_len

Definition at line 113 of file UDEngine.h.

#define Input_Method   buffer[session_id]->input_method

Definition at line 125 of file UDEngine.h.

#define Last_Candidate   buffer[session_id]->candidate_high

Definition at line 118 of file UDEngine.h.

#define LCUBRT   0xa3fb /* { */

Definition at line 184 of file UDEngine.h.

#define LESSTH   0xa3bc /* < */

Definition at line 198 of file UDEngine.h.

#define LOOKUP_CHOICE   0

Definition at line 78 of file UDEngine.h.

#define LOWER_LABEL   2

Definition at line 67 of file UDEngine.h.

#define LOWERS   0xa3e1 /* a-z */

Definition at line 216 of file UDEngine.h.

#define LPARNT   0xa3a8 /* ( */

Definition at line 182 of file UDEngine.h.

#define LSQBRT   0xa3db /* [ */

Definition at line 186 of file UDEngine.h.

#define LUC_High   buffer[session_id]->lookupchoice_high

Definition at line 122 of file UDEngine.h.

#define LUC_Low   buffer[session_id]->lookupchoice_low

Definition at line 121 of file UDEngine.h.

#define LUC_Number   buffer[session_id]->lookupchoice_number

Definition at line 123 of file UDEngine.h.

#define MAX_CANDIDATE   40

Definition at line 50 of file UDEngine.h.

#define MAX_CHAR_COMMIT   25

Definition at line 52 of file UDEngine.h.

#define MAX_CHAR_PREEDIT   13

Definition at line 51 of file UDEngine.h.

#define MAX_SESSION   512

Definition at line 49 of file UDEngine.h.

#define Mode   buffer[session_id]->mode

Definition at line 108 of file UDEngine.h.

#define NUMERIC_LABEL   1

Definition at line 66 of file UDEngine.h.

#define PAGEDOWN   1

Definition at line 82 of file UDEngine.h.

#define PAGEUP   0

Definition at line 81 of file UDEngine.h.

#define PERCNT   0xa3a5 /* % */

Definition at line 205 of file UDEngine.h.

#define PERIOD   0xa1a3 /* . */

Definition at line 174 of file UDEngine.h.

#define PRE_EDIT   1

Definition at line 79 of file UDEngine.h.

#define Preedit_Buf   buffer[session_id]->preedit

Definition at line 110 of file UDEngine.h.

#define Preedit_Len   buffer[session_id]->preedit_len

Definition at line 111 of file UDEngine.h.

#define PUNCTUATION_STATUS   1

Definition at line 86 of file UDEngine.h.

#define Quanjiao   buffer[session_id]->quanjiao

Definition at line 126 of file UDEngine.h.

#define QUANJIAO_OFF   1

Definition at line 73 of file UDEngine.h.

#define QUANJIAO_ON   0

Definition at line 72 of file UDEngine.h.

#define QUANJIAO_STR   "/ȫ\0"

Definition at line 75 of file UDEngine.h.

#define QUESTM   0xa3bf /* ? */

Definition at line 197 of file UDEngine.h.

#define RCUBRT   0xa3fd /* } */

Definition at line 185 of file UDEngine.h.

#define RPARNT   0xa3a9 /* ) */

Definition at line 183 of file UDEngine.h.

#define RSQBRT   0xa3dd /* ] */

Definition at line 187 of file UDEngine.h.

#define S_Direction   buffer[session_id]->search_direction

Definition at line 120 of file UDEngine.h.

#define S_Pointer   buffer[session_id]->search_pointer

Definition at line 119 of file UDEngine.h.

#define SEMCLN   0xa3bb /* ; */

Definition at line 196 of file UDEngine.h.

#define SGNADD   0xa3ab /* + */

Definition at line 210 of file UDEngine.h.

#define SGNNUM   0xa3a3 /* # */

Definition at line 203 of file UDEngine.h.

#define SGNSTR   0xa3aa /* * */

Definition at line 206 of file UDEngine.h.

#define SNGQUO   0xa1e4 /* ' */

Definition at line 189 of file UDEngine.h.

#define SOFTKEYBOARD_LAYOUT   2

Definition at line 87 of file UDEngine.h.

#define SOLDUS   0xa1a2 /* / 0xa3af*/

Definition at line 195 of file UDEngine.h.

#define STILDE   0xa1ab /* ~ */

Definition at line 209 of file UDEngine.h.

#define This_Operation   buffer[session_id]->this_operation

Definition at line 124 of file UDEngine.h.

#define UNDSCR   0xa3df /* _ */

Definition at line 207 of file UDEngine.h.

#define UPPER_LABEL   3

Definition at line 68 of file UDEngine.h.

#define UPPERS   0xa3c1 /* A-Z */

Definition at line 214 of file UDEngine.h.

#define USE_HTT_LABEL   0

Definition at line 65 of file UDEngine.h.

#define VERBAR   0xa3fc /* | */

Definition at line 200 of file UDEngine.h.

#define WildChar_Pos   buffer[session_id]->wildchar_pos

Definition at line 115 of file UDEngine.h.


Typedef Documentation

typedef struct _engine_info engine_info
typedef struct _im_data im_data