diff options
author | Peng Wu <alexepico@gmail.com> | 2013-02-19 12:54:35 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-02-19 12:54:35 +0800 |
commit | b33991511be60368eb0ab38de70165606f4e5b14 (patch) | |
tree | d7642ddc2ffed7585fef733396366a186d1428ad /src | |
parent | 36ef85182a682e35a1a7ba7d79292c69fa184b38 (diff) | |
download | libpinyin-b33991511be60368eb0ab38de70165606f4e5b14.tar.gz libpinyin-b33991511be60368eb0ab38de70165606f4e5b14.tar.xz libpinyin-b33991511be60368eb0ab38de70165606f4e5b14.zip |
add enum PHRASE_INDEX_LIBRARIES
Diffstat (limited to 'src')
-rw-r--r-- | src/include/novel_types.h | 19 | ||||
-rw-r--r-- | src/storage/phrase_index.h | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/include/novel_types.h b/src/include/novel_types.h index 52fc0b0..428b67e 100644 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -145,6 +145,25 @@ typedef GArray * CandidateConstraints; typedef guint32 pinyin_option_t; +typedef enum { + RESERVED = 0, + GB_DICTIONARY, + GBK_DICTIONARY, + MERGED_DICTIONARY, + ART_DICTIONARY, + CULTURE_DICTIONARY, + ECONOMY_DICTIONARY, + GEOLOGY_DICTIONARY, + HISTORY_DICTIONARY, + LIFE_DICTIONARY, + NATURE_DICTIONARY, + SCITECH_DICTIONARY, + SOCIETY_DICTIONARY, + SPORT_DICTIONARY, + RESERVED1, + USER_DICTIONARY +} PHRASE_INDEX_LIBRARIES; + }; #endif diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index 7b3443c..f529789 100644 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -833,6 +833,7 @@ public: typedef enum { NOT_USED, /* not used. */ SYSTEM_FILE, /* system phrase file. */ + DICTIONARY, /* professional dictionary. */ USER_FILE, /* user only phrase file. */ } PHRASE_FILE_TYPE; |