summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-09 15:21:49 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-09 15:21:49 +0800
commit50b8d01371708313ec063178f9819ee6230487d7 (patch)
treefef20b4573eac345a3f1919e2b015a62751f0608
parentec1e4559dede2e3bddf555c6322c64642bdbc1e0 (diff)
downloadlibpinyin-50b8d01371708313ec063178f9819ee6230487d7.zip
libpinyin-50b8d01371708313ec063178f9819ee6230487d7.tar.gz
libpinyin-50b8d01371708313ec063178f9819ee6230487d7.tar.xz
port gen_pinyin_table.cpp
-rw-r--r--utils/storage/gen_pinyin_table.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/storage/gen_pinyin_table.cpp b/utils/storage/gen_pinyin_table.cpp
index 0d7e231..99a4a0e 100644
--- a/utils/storage/gen_pinyin_table.cpp
+++ b/utils/storage/gen_pinyin_table.cpp
@@ -19,10 +19,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+
+#include "novel_types.h"
+#include "pinyin_base.h"
+#include "pinyin_phrase.h"
#include <stdio.h>
+#include <errno.h>
#include <locale.h>
#include <glib.h>
-#include "pinyin_internal.h"
+
+using namespace pinyin;
GTree * g_pinyin_tree;