From 8658e552f350167bb8f5af7b9e991775f2cc6a6d Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Sat, 30 Jun 2012 08:53:33 +0900 Subject: Makefile and source code structure update for LatinIME AOSP build Change-Id: Ia2ab54651ef96521fce01fe4755147909b818803 --- .../src/gesture/impl/incremental_decoder_impl.h | 23 +++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'native/jni/src/gesture/impl/incremental_decoder_impl.h') 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 -- cgit v1.2.3-83-g751a