diff options
author | 2012-07-02 04:43:48 -0700 | |
---|---|---|
committer | 2012-07-02 04:43:48 -0700 | |
commit | 83649cb400797d6382218d99fe496a080aa4a026 (patch) | |
tree | b4e75eadc64f5b7ed0be8f42f032262c9189ab64 /native/jni/src/gesture/impl/incremental_decoder_impl.h | |
parent | d6496c091392481850c7d0103b19bc9619459d08 (diff) | |
parent | 8658e552f350167bb8f5af7b9e991775f2cc6a6d (diff) | |
download | latinime-83649cb400797d6382218d99fe496a080aa4a026.tar.gz latinime-83649cb400797d6382218d99fe496a080aa4a026.tar.xz latinime-83649cb400797d6382218d99fe496a080aa4a026.zip |
Merge "Makefile and source code structure update for LatinIME AOSP build"
Diffstat (limited to 'native/jni/src/gesture/impl/incremental_decoder_impl.h')
-rw-r--r-- | native/jni/src/gesture/impl/incremental_decoder_impl.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/native/jni/src/gesture/impl/incremental_decoder_impl.h b/native/jni/src/gesture/impl/incremental_decoder_impl.h index 84121e8e2..50ed14303 100644 --- a/native/jni/src/gesture/impl/incremental_decoder_impl.h +++ b/native/jni/src/gesture/impl/incremental_decoder_impl.h @@ -17,25 +17,30 @@ #ifndef LATINIME_INCREMENTAL_DECODER_IMPL_H #define LATINIME_INCREMENTAL_DECODER_IMPL_H -#include "bigram_dictionary.h" #include "defines.h" #include "incremental_decoder_interface.h" -#include "unigram_dictionary.h" namespace latinime { -class IncrementalDecoderImpl : IncrementalDecoderInterface { +class UnigramDictionary; +class BigramDictionary; +class IncrementalDecoderImpl : public IncrementalDecoderInterface { public: - IncrementalDecoderImpl(int maxWordLength, int maxWords) { }; - void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram, - const uint8_t *dictRoot, int rootPos) { }; - void setPrevWord(const int32_t *prevWord, int prevWordLength) { }; - void reset() { }; + IncrementalDecoderImpl(int maxWordLength, int maxWords) { }; + void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram, + const uint8_t *dictRoot, int rootPos) { }; + void setPrevWord(const int32_t *prevWord, int prevWordLength) { }; + void reset() { }; + + int getSuggestions(ProximityInfo *pInfo, int *inputXs, int *inputYs, int *times, + int *pointerIds, int *codes, int inputSize, int commitPoint, + unsigned short *outWords, int *frequencies, int *outputIndices) { + return 0; + } private: DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalDecoderImpl); }; } // namespace latinime - #endif // LATINIME_INCREMENTAL_DECODER_IMPL_H |