summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-04-08 11:52:24 +0800
committerPeng Wu <alexepico@gmail.com>2013-04-08 11:55:01 +0800
commit2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29 (patch)
tree22b56345f405f0ed4f3506bea6a78a31d0824148 /src/storage/phrase_index.h
parent415ccb56e84167f11bead9a1ca27be2e5216ba10 (diff)
downloadlibpinyin-2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29.tar.gz
libpinyin-2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29.tar.xz
libpinyin-2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29.zip
fixes compile
Diffstat (limited to 'src/storage/phrase_index.h')
-rw-r--r--src/storage/phrase_index.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index 0ecfbec..e1dad0b 100644
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -831,23 +831,6 @@ public:
}
};
-typedef enum {
- NOT_USED, /* not used. */
- SYSTEM_FILE, /* system phrase file. */
- DICTIONARY, /* professional dictionary. */
- USER_FILE, /* user only phrase file. */
-} PHRASE_FILE_TYPE;
-
-typedef struct {
- const guint8 m_dict_index; /* for assert purpose. */
- const char * m_table_filename;
- const char * m_system_filename;
- const char * m_user_filename;
- PHRASE_FILE_TYPE m_file_type;
-} pinyin_table_info_t;
-
-extern const pinyin_table_info_t pinyin_phrase_files[PHRASE_INDEX_LIBRARY_COUNT];
-
PhraseIndexLogger * mask_out_phrase_index_logger
(PhraseIndexLogger * oldlogger, phrase_token_t mask, phrase_token_t value);