Mercurial > kinput2.yaz
comparison include/ConvMgrP.h @ 0:92745d501b9a
initial import from kinput2-v3.1
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Mon, 08 Mar 2010 04:44:30 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:92745d501b9a |
|---|---|
| 1 /* $Id: ConvMgrP.h,v 1.4 1991/04/18 16:59:16 ishisone Rel $ */ | |
| 2 /* | |
| 3 * Copyright (c) 1990 Software Research Associates, Inc. | |
| 4 * | |
| 5 * Permission to use, copy, modify, and distribute this software and its | |
| 6 * documentation for any purpose and without fee is hereby granted, provided | |
| 7 * that the above copyright notice appear in all copies and that both that | |
| 8 * copyright notice and this permission notice appear in supporting | |
| 9 * documentation, and that the name of Software Research Associates not be | |
| 10 * used in advertising or publicity pertaining to distribution of the | |
| 11 * software without specific, written prior permission. Software Research | |
| 12 * Associates makes no representations about the suitability of this software | |
| 13 * for any purpose. It is provided "as is" without express or implied | |
| 14 * warranty. | |
| 15 * | |
| 16 * Author: Makoto Ishisone, Software Research Associates, Inc., Japan | |
| 17 */ | |
| 18 | |
| 19 #ifndef _ConversionManagerP_h | |
| 20 #define _ConversionManagerP_h | |
| 21 | |
| 22 #include <X11/CompositeP.h> | |
| 23 #include "ConvMgr.h" | |
| 24 | |
| 25 typedef struct { | |
| 26 int empty; | |
| 27 } ConversionManagerClassPart; | |
| 28 | |
| 29 typedef struct _ConversionManagerClassRec { | |
| 30 CoreClassPart core_class; | |
| 31 CompositeClassPart composite_class; | |
| 32 ConversionManagerClassPart conversionmanager_class; | |
| 33 } ConversionManagerClassRec; | |
| 34 | |
| 35 extern ConversionManagerClassRec conversionmanagerClassRec; | |
| 36 | |
| 37 typedef struct _convlist_ { | |
| 38 Boolean busy; | |
| 39 WidgetClass converterclass; | |
| 40 WidgetClass inputobjclass; | |
| 41 WidgetClass displayobjclass; | |
| 42 Widget converter; | |
| 43 Screen *screen; | |
| 44 struct _convlist_ *next; | |
| 45 } ConverterRec; | |
| 46 | |
| 47 typedef struct _inputobjlist_ { | |
| 48 WidgetClass inputobjclass; | |
| 49 Widget inputobj; | |
| 50 struct _inputobjlist_ *next; | |
| 51 } InputObjRec; | |
| 52 | |
| 53 typedef struct { | |
| 54 /* private state */ | |
| 55 ConverterRec *converterlist; | |
| 56 InputObjRec *inputobjlist; | |
| 57 } ConversionManagerPart; | |
| 58 | |
| 59 typedef struct _ConversionManagerRec { | |
| 60 CorePart core; | |
| 61 CompositePart composite; | |
| 62 ConversionManagerPart convmgr; | |
| 63 } ConversionManagerRec; | |
| 64 #endif |
