summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-08-07 14:04:03 +0800
committerPeng Wu <alexepico@gmail.com>2013-08-07 14:04:03 +0800
commit440bb43c605bfba48e14686e3f7a198381c32a88 (patch)
tree2dc339adfeba95a488d488c71a6985d9135e5e54 /src
parent193cea02bd4d281a83532ef0b7249dc49d9d2409 (diff)
downloadlibzhuyin-440bb43c605bfba48e14686e3f7a198381c32a88.tar.gz
libzhuyin-440bb43c605bfba48e14686e3f7a198381c32a88.tar.xz
libzhuyin-440bb43c605bfba48e14686e3f7a198381c32a88.zip
remove get_sheng_yun
Diffstat (limited to 'src')
-rw-r--r--src/storage/chewing_key.h2
-rw-r--r--src/storage/pinyin_parser2.cpp14
-rw-r--r--src/storage/pinyin_parser2.h2
3 files changed, 0 insertions, 18 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h
index f3202e8..db0123d 100644
--- a/src/storage/chewing_key.h
+++ b/src/storage/chewing_key.h
@@ -66,8 +66,6 @@ public:
/* Note: the return value should be freed by g_free. */
gchar * get_pinyin_string();
- gchar * get_shengmu_string();
- gchar * get_yunmu_string();
gchar * get_chewing_string();
};
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 5d406ae..30ca566 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -94,20 +94,6 @@ gchar * _ChewingKey::get_pinyin_string() {
}
}
-gchar * _ChewingKey::get_shengmu_string() {
- gint index = get_table_index();
- assert(index < G_N_ELEMENTS(content_table));
- const content_table_item_t & item = content_table[index];
- return g_strdup(item.m_shengmu_str);
-}
-
-gchar * _ChewingKey::get_yunmu_string() {
- gint index = get_table_index();
- assert(index < G_N_ELEMENTS(content_table));
- const content_table_item_t & item = content_table[index];
- return g_strdup(item.m_yunmu_str);
-}
-
gchar * _ChewingKey::get_chewing_string() {
assert(m_tone < CHEWING_NUMBER_OF_TONES);
gint index = get_table_index();
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h
index e40b30c..644dd07 100644
--- a/src/storage/pinyin_parser2.h
+++ b/src/storage/pinyin_parser2.h
@@ -31,8 +31,6 @@ namespace pinyin{
typedef struct {
const char * m_pinyin_str;
- const char * m_shengmu_str;
- const char * m_yunmu_str;
const char * m_chewing_str;
ChewingKey m_chewing_key;
} content_table_item_t;