Back to index

im-sdk  12.3.91
le_aux_protocol.h
Go to the documentation of this file.
00001 #ifndef _LE_AUX_PROTOCOL_H_
00002 #define _LE_AUX_PROTOCOL_H_
00003 
00004 #define AUX_OBJECT_CLASS_NAME     "com.sun.iiim.cle.aux.object"
00005 #define PALETTE_AUX_CLASS_NAME    "com.sun.iiim.cle.aux.palette"
00006 #define SELECT_AUX_CLASS_NAME     "com.sun.iiim.cle.aux.select"
00007 #define PROPERTIES_AUX_CLASS_NAME "com.sun.iiim.cle.aux.properties"
00008 #define COMPOSITE_AUX_CLASS_NAME  "com.sun.iiim.cle.aux.composite"
00009 
00010 #define XAUX_OBJECT_CLASS_NAME          "com.sun.iiim.cle.aux.object"
00011 #define XAUX_MANAGER_GTK2_CLASS_NAME    "com.sun.iiim.cle.aux.manager.gtk2"
00012 #define XAUX_MODULE_PALETTE_CLASS_NAME  "com.sun.iiim.cle.aux.palette"
00013 #define XAUX_MODULE_SELECT_CLASS_NAME   "com.sun.iiim.cle.aux.select"
00014 #define XAUX_MODULE_PROPERTY_CLASS_NAME "com.sun.iiim.cle.aux.properties"
00015 #define XAUX_MODULE_COMPOSITE_CLASS_NAME "com.sun.iiim.cle.aux.composite"
00016 
00017 /* Protocol Number between Auxiliary Window and Language Engine */
00018 
00019 /* For PaletteAux */
00020 #define PALETTEAUX_CONNECT                      1
00021 #define PALETTEAUX_SWITCH_CONVERSION            2
00022 #define PALETTEAUX_SWITCH_IME                   3
00023 #define PALETTEAUX_SWITCH_QJBJ                  4
00024 #define PALETTEAUX_SWITCH_PUNCT                 5
00025 #define PALETTEAUX_CHANGE_POSITION              6
00026 #define PALETTEAUX_UPDATE_PROPERTY              7
00027 #define PALETTEAUX_SHOW_SELECTAUX               8
00028 #define PALETTEAUX_SHOW_KEYBOARDAUX             9
00029 #define PALETTEAUX_SHOW_LOOKUPAUX               10
00030 
00031 #define PALETTEAUX_UPDATE_IMEINFO_NOTIFY        12
00032 #define PALETTEAUX_SWITCH_CONVERSION_NOTIFY     13
00033 #define PALETTEAUX_SWITCH_IME_NOTIFY            14
00034 #define PALETTEAUX_SWITCH_QJBJ_NOTIFY           15
00035 #define PALETTEAUX_SWITCH_PUNCT_NOTIFY          16
00036 #define PALETTEAUX_BEEP_NOTIFY                  17
00037 
00038 /* For Common used protocol */
00039 #define COMMONAUX_COMMIT_KEY                    20
00040 #define COMMONAUX_COMMIT_STRING                 21
00041 #define COMMONAUX_UPDATE_OPTIONSINFO            22
00042 #define COMMONAUX_LOST_FOCUS                    23
00043 
00044 #define COMMONAUX_CHANGE_FOCUS_NOTIFY           24
00045 #define COMMONAUX_UPDATE_KEYMAPINFO_NOTIFY      25
00046 #define COMMONAUX_IME_INFO_NOTIFY               26
00047 #define COMMONAUX_SHOW_NOTIFY                   27
00048 #define COMMONAUX_HIDE_NOTIFY                   28
00049 
00050 #define COMMONAUX_CONNECT                 50
00051 #define COMMONAUX_SHOW_PREEDIT_NOTIFY             51
00052 #define COMMONAUX_HIDE_PREEDIT_NOTIFY             52
00053 #define COMMONAUX_UPDATE_PREEDIT_NOTIFY           53
00054 #define COMMONAUX_SHOW_CANDIDATES_NOTIFY  54
00055 #define COMMONAUX_HIDE_CANDIDATES_NOTIFY  55
00056 #define COMMONAUX_UPDATE_CANDIDATES_NOTIFY       56
00057 
00058 /* For OptionAux */
00059 #define OPTIONAUX_CONNECT                       30
00060 #define OPTIONAUX_CHANGE_STATUS                 31
00061 
00062 /* For SelectAux */
00063 #define SELECTAUX_CONNECT                       40
00064 #define SELECTAUX_SAVE_IMEINFO                    41
00065 
00066 /*For PropertiesAux */
00067 #define PALETTEAUX_SHOW_PROPERTIESAUX            42
00068 
00069 /* For composite preedit/candidate aux used protocol */
00070 #define COMPOSITE_PC_FIRST_EVENTID              1000
00071 #define COMPOSITE_PC_OPTION                     (COMPOSITE_PC_FIRST_EVENTID+1)
00072 #define COMPOSITE_PC_PREEDIT_SELECTION          (COMPOSITE_PC_FIRST_EVENTID+2)
00073 #define COMPOSITE_PC_CANDIDATE_SELECTION        (COMPOSITE_PC_FIRST_EVENTID+3)
00074 #define COMPOSITE_PC_CANDIDATE_FOCUS            (COMPOSITE_PC_FIRST_EVENTID+4)
00075 #define COMPOSITE_PC_CANDIDATE_PAGE             (COMPOSITE_PC_FIRST_EVENTID+5)
00076 #define COMPOSITE_PC_MOVE                        (COMPOSITE_PC_FIRST_EVENTID+6)
00077 
00078 #endif /* _LE_AUX_PROTOCOL_H_ */