1 /* # skkinput (Simple Kana-Kanji Input) 2 * 3 * This file is part of skkinput. 4 * Copyright (C) 2002 5 * Takashi SAKAMOTO (PXG01715@nifty.ne.jp) 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2, or (at your option) 10 * any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with skkinput; see the file COPYING. If not, write to 19 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 20 */ 21 #if !defined (XIMClientP_h) 22 #define XIMClientP_h 23 24 #include "XIMClient.h" 25 #include "XIMInputMethod.h" 26 #include <X11/CoreP.h> 27 #include "varbuffer.h" 28 #include "tqueue.h" 29 30 typedef struct { 31 TQueue m_queInputMessage ; 32 Boolean m_fBigEndian ; 33 Atom m_atProtocol ; 34 Atom m_atReadWrite ; 35 Atom m_atMoreData ; 36 TVarbuffer m_vbufAuthProtocolNameList ; 37 int m_nAuthProtocol ; 38 TVarbuffer m_vbufOutput ; 39 Boolean m_fDispatching ; 40 Boolean (*m_pDispatcher)(Widget) ; 41 Window m_wndClient ; 42 unsigned short m_uInputMethodID ; 43 XIMInputMethod* m_lstInputMethod ; 44 Widget m_wgProtocol ; 45 XtCallbackList m_lstCbkDestroy ; 46 } XIMClientPart ; 47 48 typedef struct tagXIMClientRec { 49 CorePart core ; 50 XIMClientPart ximClient ; 51 } XIMClientRec ; 52 53 typedef struct { 54 int dummy ; 55 } XIMClientClassPart ; 56 57 typedef struct tagXIMClientClassRec { 58 CoreClassPart core_class ; 59 XIMClientClassPart ximClient_class ; 60 } XIMClientClassRec ; 61 62 extern XIMClientClassRec ximClientClassRec ; 63 64 #endif 65 66