From b33991511be60368eb0ab38de70165606f4e5b14 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 19 Feb 2013 12:54:35 +0800 Subject: add enum PHRASE_INDEX_LIBRARIES --- src/include/novel_types.h | 19 +++++++++++++++++++ src/storage/phrase_index.h | 1 + 2 files changed, 20 insertions(+) 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; -- cgit