diff options
author | Peng Wu <alexepico@gmail.com> | 2013-04-08 11:52:24 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-04-08 11:55:01 +0800 |
commit | 2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29 (patch) | |
tree | 22b56345f405f0ed4f3506bea6a78a31d0824148 /src/storage/table_info.h | |
parent | 415ccb56e84167f11bead9a1ca27be2e5216ba10 (diff) | |
download | libpinyin-2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29.tar.gz libpinyin-2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29.tar.xz libpinyin-2b6bbbf8d0f60ed83aec91db3cc0c6796c079d29.zip |
fixes compile
Diffstat (limited to 'src/storage/table_info.h')
-rw-r--r-- | src/storage/table_info.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/storage/table_info.h b/src/storage/table_info.h index 8feee95..8d7fa05 100644 --- a/src/storage/table_info.h +++ b/src/storage/table_info.h @@ -22,8 +22,27 @@ #ifndef TABLE_INFO_H #define TABLE_INFO_H +#include "novel_types.h" + + namespace pinyin{ +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 { + guint8 m_dict_index; /* for assert purpose. */ + const gchar * m_table_filename; + const gchar * m_system_filename; + const gchar * m_user_filename; + PHRASE_FILE_TYPE m_file_type; +} pinyin_table_info_t; + + class UserTableInfo; class SystemTableInfo{ |