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 (XIMServerP_h) 22 #define XIMServerP_h 23 24 #include "XIMServer.h" 25 #include "XIMClient.h" 26 #include "varbuffer.h" 27 #include <X11/CoreP.h> 28 29 typedef struct { 30 XtPointer m_pLispMachine ; 31 XtCallbackList m_lstCbkDestroy ; 32 String m_strLocales ; 33 String m_strConvStartKeys ; 34 35 Atom m_atServer ; 36 Atom m_atCompoundText ; 37 Atom m_atLocales ; 38 Atom m_atTransport ; 39 Atom m_atXConnect ; 40 Atom m_atProtocol ; 41 Atom m_atMoreData ; 42 Atom m_atSkkComm ; 43 44 XIMHotKeyTrigger* m_lstHotKeyTrigger ; 45 int m_nHotKeyTrigger ; 46 47 TVarbuffer m_vbufClient ; 48 } XIMServerPart ; 49 50 typedef struct tagXIMServerRec { 51 CorePart core ; 52 XIMServerPart ximServer ; 53 } XIMServerRec ; 54 55 typedef struct { 56 int dummy ; 57 } XIMServerClassPart ; 58 59 typedef struct tagXIMServerClassRec { 60 CoreClassPart core_class ; 61 XIMServerClassPart ximServer_class ; 62 } XIMServerClassRec ; 63 64 extern XIMServerClassRec ximServerClassRec ; 65 66 #endif 67 68