summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/novel_types.h19
-rw-r--r--src/storage/phrase_index.h1
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;