Logo Search packages:      
Sourcecode: fcitx version File versions  Download package

Classes | Defines | Typedefs | Enumerations | Functions

ime.h File Reference

按键和输入法通用功能处理 More...

#include <X11/keysym.h>
#include "xim.h"
#include "KeyList.h"
Include dependency graph for ime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SINGLE_HZ
struct  IM

Defines

#define HOT_KEY_COUNT   2
#define MAX_CAND_WORD   10
#define MAX_IM_NAME   15
#define MAX_USER_INPUT   300
#define TEMP_FILE   "FCITX_DICT_TEMP"

Typedefs

typedef enum ADJUST_ORDER ADJUSTORDER
typedef enum _ENTER_TO_DO ENTER_TO_DO
typedef int HOTKEYS
typedef enum _INPUT_RETURN_VALUE INPUT_RETURN_VALUE
typedef enum _KEY_RELEASED KEY_RELEASED
typedef enum _SEARCH_MODE SEARCH_MODE
typedef enum _SEMICOLON_TO_DO SEMICOLON_TO_DO
typedef struct _SINGLE_HZ SINGLE_HZ

Enumerations

enum  _ENTER_TO_DO { K_ENTER_NOTHING, K_ENTER_CLEAN, K_ENTER_SEND }
enum  _INPUT_RETURN_VALUE {
  IRV_DO_NOTHING = 0, IRV_DONOT_PROCESS, IRV_DONOT_PROCESS_CLEAN, IRV_CLEAN,
  IRV_TO_PROCESS, IRV_DISPLAY_MESSAGE, IRV_DISPLAY_CANDWORDS, IRV_DISPLAY_LAST,
  IRV_PUNC, IRV_ENG, IRV_GET_LEGEND, IRV_GET_CANDWORDS,
  IRV_GET_CANDWORDS_NEXT
}
enum  _KEY_RELEASED {
  KR_OTHER = 0, KR_CTRL, KR_2ND_SELECTKEY, KR_2ND_SELECTKEY_OTHER,
  KR_3RD_SELECTKEY, KR_3RD_SELECTKEY_OTHER
}
enum  _SEARCH_MODE { SM_FIRST, SM_NEXT, SM_PREV }
enum  _SEMICOLON_TO_DO { K_SEMICOLON_NOCHANGE, K_SEMICOLON_ENG, K_SEMICOLON_QUICKPHRASE }
enum  ADJUST_ORDER { AD_NO, AD_FAST, AD_FREQ }

Functions

INPUT_RETURN_VALUE ChangeCorner (void)
INPUT_RETURN_VALUE ChangeGBK (void)
INPUT_RETURN_VALUE ChangeGBKT (void)
void ChangeIMState (CARD16 call_data)
INPUT_RETURN_VALUE ChangeLegend (void)
INPUT_RETURN_VALUE ChangePunc (void)
INPUT_RETURN_VALUE ChangeTrack (void)
void CloseIM (IMForwardEventStruct *call_data)
void ConvertPunc (void)
void DoPhraseTips ()
Bool IsHotKey (int iKey, HOTKEYS *hotkey)
Bool IsIM (char *strName)
Bool IsKeyIgnored (int iKeyCode)
void ProcessKey (IMForwardEventStruct *call_data)
void RegisterNewIM (char *strName, void(*ResetIM)(void), INPUT_RETURN_VALUE(*DoInput)(int), INPUT_RETURN_VALUE(*GetCandWords)(SEARCH_MODE), char *(*GetCandWord)(int), char *(*GetLegendCandWord)(int), Bool(*PhraseTips)(void), void(*Init)(void), void(*Destroy)(void))
void ResetInput (void)
void SaveIM (void)
void SetIM (void)
void SwitchIM (INT8 index)

Detailed Description

按键和输入法通用功能处理

Author:
Yuking yuking_net@sohu.com
Date:
2008-1-16

Definition in file ime.h.


Generated by  Doxygen 1.6.0   Back to index