1 /* Copyright 1992 NEC Corporation, Tokyo, Japan.
2  *
3  * Permission to use, copy, modify, distribute and sell this software
4  * and its documentation for any purpose is hereby granted without
5  * fee, provided that the above copyright notice appear in all copies
6  * and that both that copyright notice and this permission notice
7  * appear in supporting documentation, and that the name of NEC
8  * Corporation not be used in advertising or publicity pertaining to
9  * distribution of the software without specific, written prior
10  * permission.  NEC Corporation makes no representations about the
11  * suitability of this software for any purpose.  It is provided "as
12  * is" without express or implied warranty.
13  *
14  * NEC CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
16  * NO EVENT SHALL NEC CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
18  * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19  * OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20  * PERFORMANCE OF THIS SOFTWARE.
21  */
22 
23 #if !defined(lint) && !defined(__CODECENTER__)
24 static char jishumap_id[] = "@(#) 102.1 $Id: jishumap.h,v 1.1.1.1 2002/10/19 08:27:49 aida_s Exp $";
25 #endif /* lint */
26 
27 extern DoFuncSequence pro((uiContext)),UseOtherKeymap pro((uiContext));
28 extern TbForward pro((uiContext)), TbBackward pro((uiContext));
29 extern TbBeginningOfLine pro((uiContext)), TbEndOfLine pro((uiContext));
30 extern YomiKakutei pro((uiContext));
31 
32 static struct funccfunc jishu_funcs[] = {
33   {CANNA_FN_FunctionalInsert	,JishuYomiInsert	},
34   {CANNA_FN_Next		,JishuNextJishu		},
35   {CANNA_FN_Prev		,JishuPreviousJishu	},
36   {CANNA_FN_DeletePrevious	,JishuQuit		},
37   {CANNA_FN_Henkan		,JishuKanjiHenkan	},
38   {CANNA_FN_HenkanOrInsert	,JishuKanjiHenkanOInsert},
39   {CANNA_FN_HenkanOrNothing	,JishuKanjiHenkanONothing},
40   {CANNA_FN_Kakutei		,YomiKakutei		},
41   {CANNA_FN_Extend		,JishuExtend		},
42   {CANNA_FN_Shrink		,JishuShrink		},
43   {CANNA_FN_Quit		,JishuQuit		},
44   {CANNA_FN_BubunMuhenkan	,JishuQuit		},
45   {CANNA_FN_Zenkaku		,JishuZenkaku		},
46   {CANNA_FN_Hankaku		,JishuHankaku		},
47   {CANNA_FN_ToUpper		,JishuToUpper		},
48   {CANNA_FN_ToLower		,JishuToLower		},
49   {CANNA_FN_Hiragana		,JishuHiragana		},
50   {CANNA_FN_Katakana		,JishuKatakana		},
51   {CANNA_FN_Romaji		,JishuRomaji		},
52   {CANNA_FN_Capitalize		,JishuCapitalize	},
53   {CANNA_FN_Forward		,TbForward		},
54   {CANNA_FN_Backward		,TbBackward		},
55   {CANNA_FN_BeginningOfLine	,TbBeginningOfLine	},
56   {CANNA_FN_EndOfLine		,TbEndOfLine		},
57   {CANNA_FN_KanaRotate		,JishuKanaRotate	},
58   {CANNA_FN_RomajiRotate	,JishuRomajiRotate	},
59   {CANNA_FN_CaseRotate		,JishuCaseRotateForward	},
60   {CANNA_FN_Nop			,JishuNop		},
61   {CANNA_FN_FuncSequence	,DoFuncSequence		},
62   {CANNA_FN_UseOtherKeymap	,UseOtherKeymap		},
63   {0				,0			},
64 };
65 
66 KanjiModeRec jishu_mode = {
67   searchfunc,
68   default_kmap,
69   CANNA_KANJIMODE_TABLE_SHARED,
70   jishu_funcs,
71 };
72