diff options
author | 2011-12-27 12:58:23 +0900 | |
---|---|---|
committer | 2011-12-27 12:58:49 +0900 | |
commit | c8c6585f216b9af76747ddfbb6983dcc5e814fd6 (patch) | |
tree | 8d547023a9996788dcb3fa57d7c66b16856d0a62 | |
parent | e85b5bed57f4086f45bce53f27f959277afe3f0c (diff) | |
download | latinime-c8c6585f216b9af76747ddfbb6983dcc5e814fd6.tar.gz latinime-c8c6585f216b9af76747ddfbb6983dcc5e814fd6.tar.xz latinime-c8c6585f216b9af76747ddfbb6983dcc5e814fd6.zip |
Add a forgotten constant
This fixes the build.
A constant was used before it was declared in another file.
Change-Id: I72dfca2f76f0c3b7dd64072d062cd48c9bfcbd56
-rw-r--r-- | native/src/unigram_dictionary.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/native/src/unigram_dictionary.h b/native/src/unigram_dictionary.h index 54f0054c1..afe92e5b9 100644 --- a/native/src/unigram_dictionary.h +++ b/native/src/unigram_dictionary.h @@ -44,8 +44,14 @@ public: // Flag for terminal groups static const int FLAG_IS_TERMINAL = 0x10; + // Flag for shortcut targets presence + static const int FLAG_HAS_SHORTCUT_TARGETS = 0x08; // Flag for bigram presence static const int FLAG_HAS_BIGRAMS = 0x04; + // Flag for shortcut-only words. Some words are shortcut-only, which means they match when + // the user types them but they don't pop in the suggestion strip, only the words they are + // shortcuts for do. + static const int FLAG_IS_SHORTCUT_ONLY = 0x02; // Attribute (bigram/shortcut) related flags: // Flag for presence of more attributes |