Back to index

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

Go to the source code of this file.

Classes

struct  _tableNode
struct  _keyPrompt
struct  _functionKey
struct  CodeTableStruct

Defines

#define MAX_CHNAME_LEN   32
#define MAX_VERSION_LEN   4
#define MAX_UUID_LEN   64
#define MAX_ICON_PATH_LEN   128
#define MAX_AUTHOR_NAME_LEN   56
#define MAX_COPYRIGHT_LEN   128
#define MAX_HINTING_LEN   128
#define MAX_USEDCODES_NUM   126
#define MAX_WILDCHAR_NUM   4
#define MAX_KEYPROMPT_LEN   4
#define MAX_FUNCTIONKEY_LEN   6
#define CODETABLE_FLAG   "CODETABLE"
#define CODETABLE_VERSION   2
#define HZ_PHRASE_TAG   '\001'
#define BITMASK(i)   (1 << (i))
#define BITSET(a, i)   ((a) |= BITMASK(i))
#define BITCLEAR(a, i)   ((a) &= ~BITMASK(i))
#define GETBIT(a, i)   ((a) & BITMASK(i))

Typedefs

typedef struct _tableNode tableNode
typedef struct _keyPrompt keyPrompt
typedef struct _functionKey functionKey

Enumerations

enum  _Section_List {
  DEFAULT_SECTION = 0, DESCRIPTION_SECTION, COMMENT_SECTION, KEYPROMPT_SECTION,
  FUNCTIONKEY_SECTION, PHRASE_SECTION, SINGLE_SECTION, OPTIONS_SECTION,
  MAX_SECTION_NUM, DEFAULT_SECTION = 0, DESCRIPTION_SECTION, COMMENT_SECTION,
  KEYPROMPT_SECTION, FUNCTIONKEY_SECTION, PHRASE_SECTION, SINGLE_SECTION,
  OPTIONS_SECTION, MAX_SECTION_NUM, DEFAULT_SECTION = 0, DESCRIPTION_SECTION,
  MAX_SECTION_NUM, DEFAULT_SECTION = 0, DESCRIPTION_SECTION, COMMENT_SECTION,
  KEYPROMPT_SECTION, FUNCTIONKEY_SECTION, PHRASE_SECTION, SINGLE_SECTION,
  OPTIONS_SECTION, MAX_SECTION_NUM, DEFAULT_SECTION = 0, DESCRIPTION_SECTION,
  MAX_SECTION_NUM, DEFAULT_SECTION = 0, DESCRIPTION_SECTION, COMMENT_SECTION,
  KEYPROMPT_SECTION, FUNCTIONKEY_SECTION, PHRASE_SECTION, SINGLE_SECTION,
  OPTIONS_SECTION, MAX_SECTION_NUM
}
enum  _Function_Key_ID {
  PAGEUP_KEY_ID = 0, PAGEDOWN_KEY_ID, BACKSPACE_KEY_ID, CLEARALL_KEY_ID,
  MAX_FUNCTIONKEY_NUM, PAGEUP_KEY_ID = 0, PAGEDOWN_KEY_ID, BACKSPACE_KEY_ID,
  CLEARALL_KEY_ID, MAX_FUNCTIONKEY_NUM, PAGEUP_KEY_ID = 0, PAGEDOWN_KEY_ID,
  BACKSPACE_KEY_ID, CLEARALL_KEY_ID, MAX_FUNCTIONKEY_NUM, PAGEUP_KEY_ID = 0,
  PAGEDOWN_KEY_ID, BACKSPACE_KEY_ID, CLEARALL_KEY_ID, MAX_FUNCTIONKEY_NUM
}
enum  _Option_Mode {
  OFF_MODE = 0, ON_MODE, OFF_MODE = 0, ON_MODE,
  OFF_MODE = 0, ON_MODE, OFF_MODE = 0, ON_MODE
}
enum  _Select_Key_Mode {
  NUMBER0_MODE = 0, NUMBER_MODE, LOWER_MODE, UPPER_MODE,
  NUMBER0_MODE = 0, NUMBER_MODE, LOWER_MODE, UPPER_MODE,
  NUMBER_MODE = 0, LOWER_MODE, UPPER_MODE, NUMBER_MODE = 0,
  LOWER_MODE, UPPER_MODE
}

Class Documentation

struct _tableNode

Definition at line 73 of file codetable.h.

Class Members
unsigned char key
int keycode
int modifier
unsigned short num_HZchoice
unsigned char num_NextKeys
unsigned int pos_HZidx
unsigned int pos_NextKey
struct _keyPrompt

Definition at line 81 of file codetable.h.

Class Members
unsigned char prompt
struct _functionKey

Definition at line 85 of file codetable.h.

Class Members
unsigned char keylist
struct CodeTableStruct

Definition at line 90 of file codetable.h.

Collaboration diagram for CodeTableStruct:
Class Members
char Author
char bSectionsFlag
unsigned char Cname
char Copyright
char Encode
functionKey * functionkey
char Hinting
unsigned char * hzList
char IconPath
keyPrompt * keyprompt
unsigned char Lname
char MaxCodes
unsigned nAutoSelectMode:1
unsigned nDisplayOnSpotMode:1
unsigned nHelpInfoMode:1
unsigned nKeyByKeyMode:1
unsigned nKeyPromptMode:1
tableNode * nodeList
unsigned nReserved:1
unsigned nSelectKeyMode:2
char Output_Encode
unsigned int sizeHZList
unsigned int sizeNodeList
char UsedCodes
char UUID
char Version
unsigned char WildChar

Define Documentation

#define BITCLEAR (   a,
  i 
)    ((a) &= ~BITMASK(i))

Definition at line 70 of file codetable.h.

#define BITMASK (   i)    (1 << (i))

Definition at line 68 of file codetable.h.

#define BITSET (   a,
  i 
)    ((a) |= BITMASK(i))

Definition at line 69 of file codetable.h.

#define CODETABLE_FLAG   "CODETABLE"

Definition at line 23 of file codetable.h.

#define CODETABLE_VERSION   2

Definition at line 26 of file codetable.h.

#define GETBIT (   a,
  i 
)    ((a) & BITMASK(i))

Definition at line 71 of file codetable.h.

#define HZ_PHRASE_TAG   '\001'

Definition at line 65 of file codetable.h.

#define MAX_AUTHOR_NAME_LEN   56

Definition at line 9 of file codetable.h.

#define MAX_CHNAME_LEN   32

Definition at line 5 of file codetable.h.

#define MAX_COPYRIGHT_LEN   128

Definition at line 10 of file codetable.h.

#define MAX_FUNCTIONKEY_LEN   6

Definition at line 20 of file codetable.h.

#define MAX_HINTING_LEN   128

Definition at line 11 of file codetable.h.

#define MAX_ICON_PATH_LEN   128

Definition at line 8 of file codetable.h.

#define MAX_KEYPROMPT_LEN   4

Definition at line 17 of file codetable.h.

#define MAX_USEDCODES_NUM   126

Definition at line 13 of file codetable.h.

#define MAX_UUID_LEN   64

Definition at line 7 of file codetable.h.

#define MAX_VERSION_LEN   4

Definition at line 6 of file codetable.h.

#define MAX_WILDCHAR_NUM   4

Definition at line 14 of file codetable.h.


Typedef Documentation

typedef struct _functionKey functionKey
typedef struct _keyPrompt keyPrompt
typedef struct _tableNode tableNode

Enumeration Type Documentation

Enumerator:
PAGEUP_KEY_ID 
PAGEDOWN_KEY_ID 
BACKSPACE_KEY_ID 
CLEARALL_KEY_ID 
MAX_FUNCTIONKEY_NUM 
PAGEUP_KEY_ID 
PAGEDOWN_KEY_ID 
BACKSPACE_KEY_ID 
CLEARALL_KEY_ID 
MAX_FUNCTIONKEY_NUM 
PAGEUP_KEY_ID 
PAGEDOWN_KEY_ID 
BACKSPACE_KEY_ID 
CLEARALL_KEY_ID 
MAX_FUNCTIONKEY_NUM 
PAGEUP_KEY_ID 
PAGEDOWN_KEY_ID 
BACKSPACE_KEY_ID 
CLEARALL_KEY_ID 
MAX_FUNCTIONKEY_NUM 

Definition at line 42 of file codetable.h.

Enumerator:
OFF_MODE 
ON_MODE 
OFF_MODE 
ON_MODE 
OFF_MODE 
ON_MODE 
OFF_MODE 
ON_MODE 

Definition at line 51 of file codetable.h.

                  {
       OFF_MODE = 0,
       ON_MODE       ,
};
Enumerator:
DEFAULT_SECTION 
DESCRIPTION_SECTION 
COMMENT_SECTION 
KEYPROMPT_SECTION 
FUNCTIONKEY_SECTION 
PHRASE_SECTION 
SINGLE_SECTION 
OPTIONS_SECTION 
MAX_SECTION_NUM 
DEFAULT_SECTION 
DESCRIPTION_SECTION 
COMMENT_SECTION 
KEYPROMPT_SECTION 
FUNCTIONKEY_SECTION 
PHRASE_SECTION 
SINGLE_SECTION 
OPTIONS_SECTION 
MAX_SECTION_NUM 
DEFAULT_SECTION 
DESCRIPTION_SECTION 
MAX_SECTION_NUM 
DEFAULT_SECTION 
DESCRIPTION_SECTION 
COMMENT_SECTION 
KEYPROMPT_SECTION 
FUNCTIONKEY_SECTION 
PHRASE_SECTION 
SINGLE_SECTION 
OPTIONS_SECTION 
MAX_SECTION_NUM 
DEFAULT_SECTION 
DESCRIPTION_SECTION 
MAX_SECTION_NUM 
DEFAULT_SECTION 
DESCRIPTION_SECTION 
COMMENT_SECTION 
KEYPROMPT_SECTION 
FUNCTIONKEY_SECTION 
PHRASE_SECTION 
SINGLE_SECTION 
OPTIONS_SECTION 
MAX_SECTION_NUM 

Definition at line 29 of file codetable.h.

Enumerator:
NUMBER0_MODE 
NUMBER_MODE 
LOWER_MODE 
UPPER_MODE 
NUMBER0_MODE 
NUMBER_MODE 
LOWER_MODE 
UPPER_MODE 
NUMBER_MODE 
LOWER_MODE 
UPPER_MODE 
NUMBER_MODE 
LOWER_MODE 
UPPER_MODE 

Definition at line 57 of file codetable.h.