1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * Copyright (C) 2004-2005 Takuro Ashie
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef __SCIM_ANTHY_DEFAULT_TABLES_H__
21 #define __SCIM_ANTHY_DEFAULT_TABLES_H__
23 typedef struct _ConvRule
30 typedef struct _HiraganaKatakanaRule
34 const char *half_katakana;
35 } HiraganaKatakanaRule;
37 typedef struct _WideRule
43 typedef struct _KeyCodeToCharRule
49 typedef struct _VoicedConsonantRule
53 const char *half_voiced;
54 } VoicedConsonantRule;
56 typedef struct _NicolaRule
60 const char *left_shift;
61 const char *right_shift;
65 extern ConvRule scim_anthy_romaji_typing_rule[];
66 extern ConvRule scim_anthy_romaji_double_consonant_rule[];
67 extern ConvRule scim_anthy_kana_typing_rule[];
68 extern ConvRule scim_anthy_kana_voiced_consonant_rule[];
71 extern ConvRule scim_anthy_half_symbol_rule[];
72 extern ConvRule scim_anthy_wide_symbol_rule[];
73 extern ConvRule scim_anthy_half_number_rule[];
74 extern ConvRule scim_anthy_wide_number_rule[];
77 extern ConvRule scim_anthy_romaji_ja_period_rule[];
78 extern ConvRule scim_anthy_romaji_wide_period_rule[];
79 extern ConvRule scim_anthy_romaji_half_period_rule[];
81 extern ConvRule scim_anthy_kana_ja_period_rule[];
82 extern ConvRule scim_anthy_kana_wide_period_rule[];
83 extern ConvRule scim_anthy_kana_half_period_rule[];
86 extern ConvRule scim_anthy_romaji_ja_comma_rule[];
87 extern ConvRule scim_anthy_romaji_wide_comma_rule[];
88 extern ConvRule scim_anthy_romaji_half_comma_rule[];
90 extern ConvRule scim_anthy_kana_ja_comma_rule[];
91 extern ConvRule scim_anthy_kana_wide_comma_rule[];
92 extern ConvRule scim_anthy_kana_half_comma_rule[];
95 extern ConvRule scim_anthy_romaji_ja_bracket_rule[];
96 extern ConvRule scim_anthy_romaji_wide_bracket_rule[];
98 extern ConvRule scim_anthy_kana_ja_bracket_rule[];
99 extern ConvRule scim_anthy_kana_wide_bracket_rule[];
102 extern ConvRule scim_anthy_romaji_ja_slash_rule[];
103 extern ConvRule scim_anthy_romaji_wide_slash_rule[];
105 extern ConvRule scim_anthy_kana_ja_slash_rule[];
106 extern ConvRule scim_anthy_kana_wide_slash_rule[];
109 extern HiraganaKatakanaRule scim_anthy_hiragana_katakana_table[];
110 extern WideRule scim_anthy_wide_table[];
111 extern VoicedConsonantRule scim_anthy_voiced_consonant_table[];
114 extern KeyCodeToCharRule scim_anthy_keypad_table[];
115 extern KeyCodeToCharRule scim_anthy_kana_table[];
118 extern NicolaRule scim_anthy_nicola_table[];
120 #endif /* __SCIM_ANTHY_DEFAULT_TABLES_H__ */