00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef __UNIHAN_XAUX_H
00030 #define __UNIHAN_XAUX_H
00031
00032 #define UNIHAN_ENGINE_GET_IM_LIST 1001
00033 #define UNIHAN_ENGINE_CONV_OFF 1002
00034 #define UNIHAN_ENGINE_SWITCH_IM 1003
00035 #define UNIHAN_ENGINE_TOGGLE_WIDTH 1004 //depricate
00036 #define UNIHAN_ENGINE_TOGGLE_PUNCCE 1005 //depricate
00037 #define UNIHAN_ENGINE_SET_DEFAULT_IM 1006
00038 #define UNIHAN_ENGINE_SET_ENCODING 1007
00039 #define UNIHAN_ENGINE_SET_TCSC_MODE 1008
00040 #define UNIHAN_ENGINE_TOGGLE_PUNC 1009 //depricate
00041 #define UNIHAN_ENGINE_TOGGLE_US 1010 //depricate
00042 #define UNIHAN_ENGINE_SWITCH_NEXT_IM 1011
00043 #define UNIHAN_ENGINE_SWITCH_PREV_IM 1012
00044 #define UNIHAN_ENGINE_CHECK_MODULE_INFO 1013 //2006.6.5 by ski.
00045 #define UNIHAN_ENGINE_SET_PHRASE_MODE 1014
00046 #define UNIHAN_ENGINE_CAND_PAGEDOWN 1021
00047 #define UNIHAN_ENGINE_CAND_PAGEUP 1022
00048 #define UNIHAN_ENGINE_CAND_COMMIT 1023
00049 #define UNIHAN_ENGINE_EXTRA_CANDS 1024
00050 #define UNIHAN_ENGINE_COMMIT 1900
00051 #define UNIHAN_ENGINE_US_KEYBOARD 1901
00052 #define UNIHAN_ENGINE_US_KEYBOARD_SET_STATE 19011
00053 #define UNIHAN_ENGINE_SEND_BUFFER 1902 //depricate
00054 #define UNIHAN_ENGINE_PROPERTY_TOGGLED 1903
00055 #define UNIHAN_ENGINE_PROPERTY_REGISTER 1904
00056
00057 #define UNIHAN_ENGINE_SET_SYMUSER 1910
00058 #define UNIHAN_ENGINE_GET_SYMUSER 1911
00059
00060 #define UNIHAN_ENGINE_IM_CONFIG_CHANGE 1100 //depricate
00061 #define UNIHAN_ENGINE_SET_SYMBOL_LIST 1101 //depricate
00062 #define UNIHAN_ENGINE_SET_WORD_LIST 1102 //depricate
00063 #define UNIHAN_ENGINE_IM_SET_PROPS 1103
00064
00065 #define UNIHAN_ENGINE_DEMO_EXPIRED 1998
00066 #define UNIHAN_ENGINE_INVALID_KEY 1999
00067
00068 #define UNIHAN_AUX_STATUS_START_NOTIFY 2000
00069 #define UNIHAN_AUX_STATUS_GET_PROPS 2001
00070 #define UNIHAN_AUX_STATUS_SWITCH_IM 2002
00071 #define UNIHAN_AUX_STATUS_PREV_IM 2003
00072 #define UNIHAN_AUX_STATUS_NEXT_IM 2004
00073 #define UNIHAN_AUX_STATUS_FULLWIDTH 2005 //depricate
00074 #define UNIHAN_AUX_STATUS_HALFWIDTH 2006 //depricate
00075 #define UNIHAN_AUX_STATUS_ENGLISHPUNC 2007 //depricate
00076 #define UNIHAN_AUX_STATUS_CHINESEPUNC 2008 //depricate
00077 #define UNIHAN_AUX_STATUS_TCSC_MODE 2009
00078 #define UNIHAN_AUX_STATUS_PUNC_KEYBOARD 2010 //depricate
00079 #define UNIHAN_AUX_STATUS_US_KEYBOARD 2011 //depricate
00080 #define UNIHAN_AUX_STATUS_BEEP 2012
00081 #define UNIHAN_AUX_PREEDIT_DRAW 2013
00082 #define UNIHAN_AUX_PREEDIT_DONE 2014
00083 #define UNIHAN_AUX_PREEDIT_HIDE 2015
00084 #define UNIHAN_AUX_PREEDIT_CARET 2016
00085 #define UNIHAN_AUX_LOOKUP_START_NOTIFY 2020
00086 #define UNIHAN_AUX_LOOKUP_DRAW 2021
00087 #define UNIHAN_AUX_LOOKUP_DONE 2022
00088 #define UNIHAN_AUX_LOOKUP_HIDE 2023
00089 #define UNIHAN_AUX_PROPERTY_REGISTER 2030
00090 #define UNIHAN_AUX_PROPERTY_UPDATE 2031
00091 #define UNIHAN_AUX_COMMITTED_STRING 2040
00092
00093 #define UNIHAN_AUX_TOOLTIP_DRAW 2102
00094 #define UNIHAN_AUX_TOOLTIP_FULLWIDTH 2105
00095 #define UNIHAN_AUX_TOOLTIP_HALFWIDTH 2106
00096 #define UNIHAN_AUX_TOOLTIP_ENGLISHPUNC 2107
00097 #define UNIHAN_AUX_TOOLTIP_CHINESEPUNC 2108
00098 #define UNIHAN_AUX_TOOLTIP_TCSC_MODE 2109
00099
00100 #define UNIHAN_AUX_LOST_FOCUS 2999
00101 #define UNIHAN_AUX_PUNC_KEYBOARD_SHOW 3031 //depricate
00102 #define UNIHAN_AUX_PUNC_KEYBOARD_HIDE 3032 //depricate
00103 #define UNIHAN_AUX_US_KEYBOARD_SHOW 3033 //depricate
00104 #define UNIHAN_AUX_US_KEYBOARD_HIDE 3034 //depricate
00105
00106 #define UNIHAN_AUX_UNISPIM_SET 4000 //depricate
00107
00108 #define UNIHAN_AUX_UNSET_FOCUS 5000
00109 #define UNIHAN_AUX_SET_FOCUS 5001
00110
00111 #define AUX_STATUS_CLASS_NAME "com.sw-linux.unihan2.StatusAux"
00112 #define AUX_LOOKUP_CLASS_NAME "com.sw-linux.unihan2.LookupAux"
00113
00114 typedef struct _UnihanLookup {
00115 void *dlh;
00116 } UnihanLookup;
00117
00118 typedef struct _UnihanStatus {
00119 void *dlh;
00120 } UnihanStatus;
00121
00122 typedef struct _UnihanAux {
00123 void *dlh;
00124 } UnihanAux;
00125
00126 typedef struct _UnihanClient {
00127 struct _UnihanLookup *lookup;
00128 struct _UnihanStatus *status;
00129 struct _UnihanAux *aux;
00130 } UnihanClient;
00131
00132 #define STR_BRK_POINTER "0x00"
00133
00134 #endif
00135
00136