diff options
author | 2011-07-13 10:32:02 +0900 | |
---|---|---|
committer | 2011-07-14 13:21:34 +0900 | |
commit | 1d7eaf8462e19604faeb239a72ee325a93986894 (patch) | |
tree | e922ff7030ae2b663eef11e1b800dfaa37d8c8b4 /native/src/proximity_info.h | |
parent | 6a6aad07589d7c321d53322ead950e47e8d09272 (diff) | |
download | latinime-1d7eaf8462e19604faeb239a72ee325a93986894.tar.gz latinime-1d7eaf8462e19604faeb239a72ee325a93986894.tar.xz latinime-1d7eaf8462e19604faeb239a72ee325a93986894.zip |
(Step 1) Move proximity related parameters from unigram_dictionary to proximity_info
Change-Id: Ic630b35f4abffeb84c38bcf5935795b7ff07556a
Diffstat (limited to 'native/src/proximity_info.h')
-rw-r--r-- | native/src/proximity_info.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/native/src/proximity_info.h b/native/src/proximity_info.h index 327cd0940..0d7c9c56e 100644 --- a/native/src/proximity_info.h +++ b/native/src/proximity_info.h @@ -30,6 +30,9 @@ public: const uint32_t *proximityCharsArray); ~ProximityInfo(); bool hasSpaceProximity(const int x, const int y) const; + void setInputParams(const int* inputCodes, const int inputLength); + const int* getProximityCharsAt(const int index) const; + bool sameAsTyped(const unsigned short *word, int length) const; private: int getStartIndexFromCoordinates(const int x, const int y) const; const int MAX_PROXIMITY_CHARS_SIZE; @@ -39,7 +42,9 @@ private: const int GRID_HEIGHT; const int CELL_WIDTH; const int CELL_HEIGHT; + const int *mInputCodes; uint32_t *mProximityCharsArray; + int mInputLength; }; } // namespace latinime |