summaryrefslogtreecommitdiffstats
path: root/scripts/chewing_enum.h.in
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-14 14:56:40 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-14 14:57:09 +0800
commit8fe06a2c0f4f299bb2fa1610769814913fee5d6f (patch)
tree3dc11a2ee5c5707f247ead579aeea246e3b0aea7 /scripts/chewing_enum.h.in
parenta62422e299a8b013819e8366e419bb4147421af3 (diff)
downloadlibpinyin-8fe06a2c0f4f299bb2fa1610769814913fee5d6f.tar.gz
libpinyin-8fe06a2c0f4f299bb2fa1610769814913fee5d6f.tar.xz
libpinyin-8fe06a2c0f4f299bb2fa1610769814913fee5d6f.zip
add genchewingkey.py
Diffstat (limited to 'scripts/chewing_enum.h.in')
-rw-r--r--scripts/chewing_enum.h.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/chewing_enum.h.in b/scripts/chewing_enum.h.in
index dc230ae..7280b65 100644
--- a/scripts/chewing_enum.h.in
+++ b/scripts/chewing_enum.h.in
@@ -4,6 +4,45 @@
#ifndef CHEWING_ENUM_H
#define CHEWING_ENUM_H
+namespace pinyin{
+/**
+ * @brief enums of chewing initial element.
+ */
+
+enum ChewingInitial
+{
+@CHEWING_INITIAL@
+};
+
+
+/**
+ * @brief enums of chewing middle element.
+ */
+
+enum ChewingMiddle
+{
+@CHEWING_MIDDLE@
+};
+
+
+/**
+ * @brief enums of chewing final element.
+ */
+enum ChewingFinal
+{
+@CHEWING_FINAL@
+};
+
+
+/**
+ * @brief enums of chewing tone element.
+ */
+enum ChewingTone
+{
+@CHEWING_TONE@
+};
+
+};
#endif