Mercurial > kinput2.yaz
comparison include/CcWnn.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: CcWnn.h,v 1.7 1999/04/12 08:53:38 ishisone Exp $ */ | |
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 _CcWnn_h | |
20 #define _CcWnn_h | |
21 | |
22 #include "InputConv.h" | |
23 | |
24 /* | |
25 CcWnn new resources: | |
26 | |
27 name class type default access | |
28 ---------------------------------------------------------------------------- | |
29 confirmFunc Function Pointer NULL CG | |
30 confirmData ConfirmData Ponter NULL CG | |
31 jserver Jserver String *1 CG | |
32 jserver2nd Jserver String NULL CG | |
33 wnnEnvName WnnEnvName String *2 CG | |
34 wnnEnvrc WnnEnvrc String *3 CG | |
35 wnnEnvrc4 WnnEnvrc String *6 CG | |
36 wnnEnvrc6 WnnEnvrc String *6 CG | |
37 wnnOverrideEnv WnnOverrideEnv Boolean False CG | |
38 wnnEnv WnnEnv WnnEnv *4 CG | |
39 ccdef Ccdef String "ccdef.kinput" CG | |
40 ccRule CcRule CcRule *4 CG | |
41 saveInterval SaveInterval Int 0 (*5) CG | |
42 | |
43 note: *1) if not specified, use value of an environment variable "JSERVER" | |
44 *2) if not specified, use user's loginname | |
45 *3) if not specified, use value of an environment variable "WNNENVRC" | |
46 *4) if not specified, create internally | |
47 *5) 0 means files are never saved | |
48 *6) if not specified, defaults to wnnEnvrc | |
49 */ | |
50 | |
51 #define XtNconfirmFunc "confirmFunc" | |
52 #define XtNconfirmData "confirmData" | |
53 #define XtCConfirmData "ConfirmData" | |
54 #define XtNjserver "jserver" | |
55 #define XtNjserver2nd "jserver2nd" | |
56 #define XtCJserver "Jserver" | |
57 #define XtNwnnEnvname "wnnEnvname" | |
58 #define XtCWnnEnvname "WnnEnvname" | |
59 #define XtNwnnEnvrc "wnnEnvrc" | |
60 #define XtNwnnEnvrc4 "wnnEnvrc4" | |
61 #define XtNwnnEnvrc6 "wnnEnvrc6" | |
62 #define XtCWnnEnvrc "WnnEnvrc" | |
63 #define XtNwnnOverrideEnv "wnnOverrideEnv" | |
64 #define XtCWnnOverrideEnv "WnnOverrideEnv" | |
65 #define XtNccdef "ccdef" | |
66 #define XtCCcdef "Ccdef" | |
67 #define XtNwnnEnv "wnnEnv" | |
68 #define XtCWnnEnv "WnnEnv" | |
69 #define XtRWnnEnv "WnnEnv" | |
70 #define XtNccRule "ccRule" | |
71 #define XtCCcRule "CcRule" | |
72 #define XtRCcRule "CcRule" | |
73 #define XtNsaveInterval "saveInterval" | |
74 #define XtCSaveInterval "SaveInterval" | |
75 | |
76 #define DEF_CCDEF_FILE "ccdef.kinput" /* for backward compatibility */ | |
77 | |
78 #define CCWNN_REGISTER_ATOM "_KI2_WNN_REG" | |
79 #define CCWNN_YOMI_ATOM "_KI2_WNN_YOMI" | |
80 #define CCWNN_KANJI_ATOM "_KI2_WNN_KANJI" | |
81 | |
82 typedef struct _CcWnnClassRec *CcWnnObjectClass; | |
83 typedef struct _CcWnnRec *CcWnnObject; | |
84 | |
85 extern WidgetClass ccWnnObjectClass; | |
86 | |
87 #endif /* _CcWnn_h */ | |
88 |