summaryrefslogtreecommitdiffstats
path: root/scripts2/templates/zhuyin_table.h.in
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-09-08 16:11:00 +0800
committerPeng Wu <alexepico@gmail.com>2015-09-08 16:11:00 +0800
commit114466ac12094a9b7950bc1f2e5ffec2975a7240 (patch)
treea6d8f70e96a4ff343d6137b9f18ac05857cc277c /scripts2/templates/zhuyin_table.h.in
parentcad449b5036ff2f28d1be62660838c0cac47b4f3 (diff)
downloadlibpinyin-114466ac12094a9b7950bc1f2e5ffec2975a7240.tar.gz
libpinyin-114466ac12094a9b7950bc1f2e5ffec2975a7240.tar.xz
libpinyin-114466ac12094a9b7950bc1f2e5ffec2975a7240.zip
import zhuyin_table.h.in from chewing_table.h.in
Diffstat (limited to 'scripts2/templates/zhuyin_table.h.in')
-rw-r--r--scripts2/templates/zhuyin_table.h.in121
1 files changed, 121 insertions, 0 deletions
diff --git a/scripts2/templates/zhuyin_table.h.in b/scripts2/templates/zhuyin_table.h.in
new file mode 100644
index 0000000..4c613fc
--- /dev/null
+++ b/scripts2/templates/zhuyin_table.h.in
@@ -0,0 +1,121 @@
+#ifndef CHEWING_TABLE_H
+#define CHEWING_TABLE_H
+
+namespace zhuyin{
+
+const chewing_symbol_item_t chewing_standard_symbols[] = {
+@STANDARD_SYMBOLS@
+};
+
+const chewing_tone_item_t chewing_standard_tones[] = {
+@STANDARD_TONES@
+};
+
+const chewing_symbol_item_t chewing_ginyieh_symbols[] = {
+@GINYIEH_SYMBOLS@
+};
+
+const chewing_tone_item_t chewing_ginyieh_tones[] = {
+@GINYIEH_TONES@
+};
+
+const chewing_symbol_item_t chewing_eten_symbols[] = {
+@ETEN_SYMBOLS@
+};
+
+const chewing_tone_item_t chewing_eten_tones[] = {
+@ETEN_TONES@
+};
+
+const chewing_symbol_item_t chewing_ibm_symbols[] = {
+@IBM_SYMBOLS@
+};
+
+const chewing_tone_item_t chewing_ibm_tones[] = {
+@IBM_TONES@
+};
+
+const chewing_symbol_item_t chewing_hsu_initials[] = {
+@HSU_INITIALS@
+};
+
+const chewing_symbol_item_t chewing_hsu_middles[] = {
+@HSU_MIDDLES@
+};
+
+const chewing_symbol_item_t chewing_hsu_finals[] = {
+@HSU_FINALS@
+};
+
+const chewing_tone_item_t chewing_hsu_tones[] = {
+@HSU_TONES@
+};
+
+const chewing_symbol_item_t chewing_eten26_initials[] = {
+@ETEN26_INITIALS@
+};
+
+const chewing_symbol_item_t chewing_eten26_middles[] = {
+@ETEN26_MIDDLES@
+};
+
+const chewing_symbol_item_t chewing_eten26_finals[] = {
+@ETEN26_FINALS@
+};
+
+const chewing_tone_item_t chewing_eten26_tones[] = {
+@ETEN26_TONES@
+};
+
+const chewing_symbol_item_t chewing_standard_dvorak_symbols[] = {
+@DVORAK-STANDARD_SYMBOLS@
+};
+
+const chewing_tone_item_t chewing_standard_dvorak_tones[] = {
+@DVORAK-STANDARD_TONES@
+};
+
+const chewing_symbol_item_t chewing_hsu_dvorak_initials[] = {
+@DVORAK-HSU_INITIALS@
+};
+
+const chewing_symbol_item_t chewing_hsu_dvorak_middles[] = {
+@DVORAK-HSU_MIDDLES@
+};
+
+const chewing_symbol_item_t chewing_hsu_dvorak_finals[] = {
+@DVORAK-HSU_FINALS@
+};
+
+const chewing_tone_item_t chewing_hsu_dvorak_tones[] = {
+@DVORAK-HSU_TONES@
+};
+
+const chewing_symbol_item_t chewing_dachen_cp26_initials[] = {
+@DACHEN-CP26_INITIALS@
+};
+
+const chewing_symbol_item_t chewing_dachen_cp26_middles[] = {
+@DACHEN-CP26_MIDDLES@
+};
+
+const chewing_symbol_item_t chewing_dachen_cp26_finals[] = {
+@DACHEN-CP26_FINALS@
+};
+
+const chewing_tone_item_t chewing_dachen_cp26_tones[] = {
+@DACHEN-CP26_TONES@
+};
+
+const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = {
+"",
+" ",
+"ˊ",
+"ˇ",
+"ˋ",
+"˙"
+};
+
+};
+
+#endif