Back to index

im-sdk  12.3.91
aux-message.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2003 Sun Microsystems Inc.
00003  *
00004  * This is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  *
00019  * Authors: Karl Park <karl.park@sun.com>
00020  */
00021 
00022 #ifndef _KOLE_AUX_MESSAGE_H_
00023 #define _KOLE_AUX_MESSAGE_H_
00024 
00025 #define XAUX_OBJECT_CLASS_NAME          "com.sun.iiim.kole.aux.object"
00026 
00027 enum AUXWIN_PROTOCOL {
00028   PALETTEAUX_CONNECT =      1,
00029   PALETTEAUX_SWITCH_INPUT_MODE = 2,
00030   PALETTEAUX_SWITCH_IME = 3,
00031   PALETTEAUX_SWITCH_QJBJ = 4,
00032   PALETTEAUX_HANJA_CONVERSION = 5,
00033   PALETTEAUX_CHANGE_POSITION = 6,
00034   PALETTEAUX_SHOW_OPTIONAUX = 7,
00035   PALETTEAUX_SHOW_SELECTAUX = 8,
00036   PALETTEAUX_SHOW_KEYBOARDAUX = 9,
00037   PALETTEAUX_SHOW_LOOKUPAUX = 10,
00038   PALETTEAUX_START_ACTION = 11,
00039   /*  PALETTEAUX_SET_LOCALE               12 */
00040 
00041   PALETTEAUX_SWITCH_INPUT_MODE_NOTIFY = 13,
00042   PALETTEAUX_SWITCH_CONVERSION_NOTIFY = 14,
00043   PALETTEAUX_SWITCH_QJBJ_NOTIFY = 15,
00044   PALETTEAUX_SWITCH_PUNCT_NOTIFY = 16,
00045   PALETTEAUX_SWITCH_CHARSET_NOTIFY = 17,
00046   
00047 
00048   /* For Common used protocol */
00049   COMMONAUX_COMMIT_KEY = 20,
00050   COMMONAUX_COMMIT_STRING = 21,
00051   COMMONAUX_UPDATE_OPTIONSINFO = 22,
00052   COMMONAUX_LOST_FOCUS = 23,
00053 
00054   COMMONAUX_CHANGE_FOCUS_NOTIFY = 24,
00055   COMMONAUX_UPDATE_KEYMAPINFO_NOTIFY = 25,
00056   COMMONAUX_SET_IME_NEW_NOTIFY = 26,
00057   COMMONAUX_SET_IME_INFO_NOTIFY = 27,
00058   COMMONAUX_SET_IME_END_NOTIFY = 28,
00059 
00060   /* For OptionAux */
00061   OPTIONAUX_CONNECT = 30,
00062   OPTIONAUX_CHANGE_STATUS = 31,
00063 
00064   OPTIONAUX_SHOW_NOTIFY = 32,
00065   OPTIONAUX_HIDE_NOTIFY = 33,
00066   OPTIONAUX_UPDATE_ARGS_NEW_NOTIFY = 34,
00067   OPTIONAUX_UPDATE_ARGS_INFO_NOTIFY = 35,
00068 
00069   /* For SelectAux */
00070   SELECTAUX_CONNECT = 40,
00071   SELECTAUX_UPDATE_IMEINFO = 41,
00072   SELECTAUX_CHANGE_STATUS = 42,
00073 
00074   SELECTAUX_SHOW_NOTIFY = 43,
00075   SELECTAUX_HIDE_NOTIFY = 44,
00076 
00077   /* For KeyboardAux */
00078   KEYBOARDAUX_CONNECT = 50,
00079   KEYBOARDAUX_CHANGE_POSITION = 51,
00080   KEYBOARDAUX_CHANGE_KEY_STATUS = 52,
00081 
00082   KEYBOARDAUX_SHOW_NOTIFY = 53,
00083   KEYBOARDAUX_HIDE_NOTIFY = 54,
00084   KEYBOARDAUX_PRESS_KEY_NOTIFY = 55,
00085 
00086   /* For LookupAux */
00087   LOOKUPAUX_CONNECT = 60,
00088   LOOKUPAUX_CHANGE_STATUS = 61,
00089   LOOKUPAUX_CHANGE_POSITION = 62,
00090 
00091   LOOKUPAUX_SHOW_NOTIFY = 63,
00092   LOOKUPAUX_HIDE_NOTIFY = 64,
00093 
00094   /* For ActionAux */
00095   ACTIONAUX_CONNECT = 70,
00096   ACTIONAUX_START_ACTION_NOTIFY = 71,
00097 
00098   /* For 3beol-sik keybord layout support */
00099   PALETTEAUX_SWITCH_KEYBOARDLAYOUT = 80,
00100   KOLE_AUX_SESSION_PROPERTY = 100
00101 };
00102 
00103 #endif