comparison include/IMProto.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: IMProto.h,v 1.3 1994/05/31 07:54:39 ishisone Rel $ */
2 /*
3 * Copyright (c) 1994 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 _IMProtocol_h
20 #define _IMProtocol_h
21
22 #include "ICtypes.h"
23
24 /*
25 IMProtocol new resources:
26
27 name class type default access
28 ----------------------------------------------------------------------------
29 serverName ServerName String "kinput2" CG
30 language Language String NULL CG
31 locales Locales String NULL CG
32 inputObjectClass Class Pointer NULL CG
33 displayObjectClass Class Pointer NULL CG
34 defaultFontList FontList String NULL CG
35 foreground Foreground Pixel DefaultForeground
36 CG
37 transports Transports String "tcp,unix,x" CG
38 */
39
40 #define XtNserverName "serverName"
41 #define XtCServerName "ServerName"
42
43 #define XtNlanguage "language"
44 #define XtCLanguage "Language"
45
46 #define XtNlocales "locales"
47 #define XtCLocales "Locales"
48
49 #define XtNinputObjectClass "inputObjectClass"
50 #define XtNdisplayObjectClass "displayObjectClass"
51 #define XtCClass "Class"
52
53 #define XtNdefaultFontList "defaultFontList"
54 #define XtCFontList "FontList"
55
56 #define XtNconversionStartKeys "conversionStartKeys"
57 #define XtCConversionStartKeys "ConversionStartKeys"
58
59 #define XtNstatusWidth "statusWidth"
60 #define XtCStatusWidth "StatusWidth"
61
62 #define XtNtransports "transports"
63 #define XtCTransports "Transports"
64
65 typedef struct _IMProtocolClassRec* IMProtocolWidgetClass;
66 typedef struct _IMProtocolRec* IMProtocolWidget;
67
68 extern WidgetClass imProtocolWidgetClass;
69
70 #endif /* _IMProtocol_h */