Back to index

im-sdk  12.3.91
opcode-reply.c
Go to the documentation of this file.
00001 #include <iiimp.h>
00002 #include <iiimp-opcode.h>
00003 
00004 
00005 const int     iiimf_opcode_reply_table[128] = {
00006        IM_NOP,                            /* 0 */
00007 
00008        IM_CONNECT_REPLY,           /* IM_CONNECT */
00009        IM_NOP,                            /* IM_CONNECT_REPLY */
00010        IM_DISCONNECT_REPLY,        /* IM_DISCONNECT */
00011        IM_NOP,                            /* IM_DISCONNECT_REPLY */
00012        IM_NOP,                            /* IM_REGISTER_TRIGGER_KEYS */
00013        IM_TRIGGER_NOTIFY_REPLY,    /* IM_TRIGGER_NOTIFY */
00014        IM_NOP,                            /* IM_TRIGGER_NOTIFY_REPLY */
00015        IM_SETIMVALUES_REPLY,              /* IM_SETIMVALUES */
00016        IM_NOP,                            /* IM_SETIMVALUES_REPLY */
00017        IM_GETIMVALUES_REPLY,              /* IM_GETIMVALUES */
00018        IM_NOP,                            /* IM_GETIMVALUES_REPLY */
00019 
00020        IM_FORWARD_EVENT_REPLY,            /* IM_FORWARD_EVENT */
00021        IM_NOP,                            /* IM_FORWARD_EVENT_REPLY */
00022        IM_NOP,                            /* IM_COMMIT_STRING */
00023        IM_FORWARD_EVENT_WITH_OPERATIONS_REPLY,
00024                                    /* IM_FORWARD_EVENT_WITH_OPERATIONS */
00025        IM_NOP,                            /* IM_FORWARD_EVENT_WITH_OPERATIONS_REPLY */
00026 
00027        IM_NOP,                            /* 17 */
00028        IM_NOP,                            /* 18 */
00029        IM_NOP,                            /* 19 */
00030 
00031        IM_CREATEIC_REPLY,          /* IM_CREATEIC */
00032        IM_NOP,                            /* IM_CREATEIC_REPLY */
00033        IM_DESTROYIC_REPLY,         /* IM_DESTROYIC */
00034        IM_NOP,                            /* IM_DESTROYIC_REPLY */
00035        IM_SETICVALUES_REPLY,              /* IM_SETICVALUES */
00036        IM_NOP,                            /* IM_SETICVALUES_REPLY */
00037        IM_GETICVALUES_REPLY,              /* IM_GETICVALUES */
00038        IM_NOP,                            /* IM_GETICVALUES_REPLY */
00039        IM_SETICFOCUS_REPLY,        /* IM_SETICFOCUS */
00040        IM_NOP,                            /* IM_SETICFOCUS_REPLY */
00041        IM_UNSETICFOCUS_REPLY,             /* IM_UNSETICFOCUS */
00042        IM_NOP,                            /* IM_UNSETICFOCUS_REPLY */
00043        IM_RESETIC_REPLY,           /* IM_RESETIC */
00044        IM_NOP,                            /* IM_RESETIC_REPLY */
00045 
00046        IM_NOP,                            /* 34 */
00047        IM_NOP,                            /* 35 */
00048        IM_NOP,                            /* 36 */
00049        IM_NOP,                            /* 37 */
00050        IM_NOP,                            /* 38 */
00051        IM_NOP,                            /* 39 */
00052 
00053        IM_PREEDIT_START_REPLY,            /* IM_PREEDIT_START */
00054        IM_NOP,                            /* IM_PREEDIT_START_REPLY */
00055        IM_PREEDIT_DRAW_REPLY,             /* IM_PREEDIT_DRAW */
00056        IM_NOP,                            /* IM_PREEDIT_DRAW_REPLY */
00057        IM_NOP,                            /* 44 */
00058        IM_NOP,                            /* 45 */
00059        IM_PREEDIT_DONE_REPLY,             /* IM_PREEDIT_DONE */
00060        IM_NOP,                            /* IM_PREEDIT_DONE_REPLY */
00061 
00062        IM_NOP,                            /* 48 */
00063        IM_NOP,                            /* 49 */
00064 
00065        IM_STATUS_START_REPLY,             /* IM_STATUS_START */
00066        IM_NOP,                            /* IM_STATUS_START_REPLY */
00067        IM_STATUS_DRAW_REPLY,              /* IM_STATUS_DRAW */
00068        IM_NOP,                            /* IM_STATUS_DRAW_REPLY */
00069        IM_STATUS_DONE_REPLY,              /* IM_STATUS_DONE */
00070        IM_NOP,                            /* IM_STATUS_DONE_REPLY */
00071 
00072        IM_NOP,                            /* 56 */
00073        IM_NOP,                            /* 57 */
00074        IM_NOP,                            /* 58 */
00075        IM_NOP,                            /* 59 */
00076        IM_NOP,                            /* 60 */
00077        IM_NOP,                            /* 61 */
00078        IM_NOP,                            /* 62 */
00079        IM_NOP,                            /* 63 */
00080        IM_NOP,                            /* 64 */
00081        IM_NOP,                            /* 65 */
00082        IM_NOP,                            /* 66 */
00083        IM_NOP,                            /* 67 */
00084        IM_NOP,                            /* 68 */
00085        IM_NOP,                            /* 69 */
00086 
00087        IM_LOOKUP_CHOICE_START_REPLY,      /* IM_LOOKUP_CHOICE_START */
00088        IM_NOP,                            /* IM_LOOKUP_CHOICE_START_REPLY */
00089        IM_LOOKUP_CHOICE_DRAW_REPLY,       /* IM_LOOKUP_CHOICE_DRAW */
00090        IM_NOP,                            /* IM_LOOKUP_CHOICE_DRAW_REPLY */
00091        IM_LOOKUP_CHOICE_DONE_REPLY,       /* IM_LOOKUP_CHOICE_DONE */
00092        IM_NOP,                            /* IM_LOOKUP_CHOICE_DONE_REPLY */
00093        IM_LOOKUP_CHOICE_PROCESS_REPLY,    /* IM_LOOKUP_CHOICE_PROCESS */
00094        IM_NOP,                            /* IM_LOOKUP_CHOICE_PROCESS_REPLY */
00095 
00096        IM_NOP,                            /* 78 */
00097        IM_NOP,                            /* 79 */
00098        IM_NOP,                            /* 80 */
00099        IM_NOP,                            /* 81 */
00100        IM_NOP,                            /* 82 */
00101        IM_NOP,                            /* 83 */
00102        IM_NOP,                            /* 84 */
00103        IM_NOP,                            /* 85 */
00104        IM_NOP,                            /* 86 */
00105        IM_NOP,                            /* 87 */
00106        IM_NOP,                            /* 88 */
00107        IM_NOP,                            /* 89 */
00108 
00109        IM_AUX_START_REPLY,         /* IM_AUX_START */
00110        IM_NOP,                            /* IM_AUX_START_REPLY */
00111        IM_AUX_DRAW_REPLY,          /* IM_AUX_DRAW */
00112        IM_NOP,                            /* IM_AUX_DRAW_REPLY */
00113        IM_AUX_DONE_REPLY,          /* IM_AUX_DONE */
00114        IM_NOP,                            /* IM_AUX_DONE_REPLY */
00115        IM_AUX_SETVALUES_REPLY,            /* IM_AUX_SETVALUES */
00116        IM_NOP,                            /* IM_AUX_SETVALUES_REPLY */
00117 
00118        IM_AUX_GETVALUES_REPLY,            /* IM_AUX_GETVALUES */
00119        IM_NOP,                            /* IM_AUX_GETVALUES_REPLY */
00120        IM_NOP,                            /* 100 */
00121        IM_NOP,                            /* 101 */
00122        IM_NOP,                            /* 102 */
00123        IM_NOP,                            /* 103 */
00124        IM_NOP,                            /* 104 */
00125        IM_NOP,                            /* 105 */
00126        IM_NOP,                            /* 106 */
00127        IM_NOP,                            /* 107 */
00128        IM_NOP,                            /* 108 */
00129        IM_NOP,                            /* 109 */
00130        IM_NOP,                            /* 110 */
00131        IM_NOP,                            /* 111 */
00132        IM_NOP,                            /* 112 */
00133        IM_NOP,                            /* 113 */
00134        IM_NOP,                            /* 114 */
00135        IM_NOP,                            /* 115 */
00136        IM_NOP,                            /* 116 */
00137        IM_NOP,                            /* 117 */
00138        IM_NOP,                            /* 118 */
00139        IM_NOP,                            /* 119 */
00140        IM_NOP,                            /* 120 */
00141        IM_NOP,                            /* 121 */
00142        IM_NOP,                            /* 122 */
00143        IM_NOP,                            /* 123 */
00144        IM_NOP,                            /* 124 */
00145        IM_NOP,                            /* 125 */
00146        IM_NOP,                            /* 126 */
00147        IM_NOP,                            /* 127 */
00148 };
00149 
00150 
00151 int
00152 iiimf_opcode_reply(int opcode)
00153 {
00154     return iiimf_opcode_reply_table[0x7f & opcode];
00155 }
00156 
00157 
00158 /* Local Variables: */
00159 /* c-file-style: "iiim-project" */
00160 /* End: */