aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2012-08-10 19:34:34 +0900
committerSatoshi Kataoka <satok@google.com>2012-08-10 19:35:04 +0900
commit88dfeb30bf84ed9af6d46f0f68b58bcb337f7bb9 (patch)
tree6f54f9ad675fa47152f8dabc4b3eb4145d0fa77e
parentc14d55a28915383aa82339f423e45bef057bcadf (diff)
downloadlatinime-88dfeb30bf84ed9af6d46f0f68b58bcb337f7bb9.tar.gz
latinime-88dfeb30bf84ed9af6d46f0f68b58bcb337f7bb9.tar.xz
latinime-88dfeb30bf84ed9af6d46f0f68b58bcb337f7bb9.zip
step 23-A remove unused method
Change-Id: I382c654fd30aca1a3277a186ee25fc946449c639
-rw-r--r--native/jni/src/gesture/gesture_decoder_wrapper.h7
-rw-r--r--native/jni/src/gesture/incremental_decoder_interface.h1
-rw-r--r--native/jni/src/gesture/incremental_decoder_wrapper.h7
3 files changed, 0 insertions, 15 deletions
diff --git a/native/jni/src/gesture/gesture_decoder_wrapper.h b/native/jni/src/gesture/gesture_decoder_wrapper.h
index 14a0705f7..2b9054f70 100644
--- a/native/jni/src/gesture/gesture_decoder_wrapper.h
+++ b/native/jni/src/gesture/gesture_decoder_wrapper.h
@@ -48,13 +48,6 @@ class GestureDecoderWrapper : public IncrementalDecoderInterface {
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
}
- void reset() {
- if (!mIncrementalDecoderInterface) {
- return;
- }
- mIncrementalDecoderInterface->reset();
- }
-
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
const uint8_t *dictRoot, int rootPos) {
if (!mIncrementalDecoderInterface) {
diff --git a/native/jni/src/gesture/incremental_decoder_interface.h b/native/jni/src/gesture/incremental_decoder_interface.h
index cc219bf50..3951514c0 100644
--- a/native/jni/src/gesture/incremental_decoder_interface.h
+++ b/native/jni/src/gesture/incremental_decoder_interface.h
@@ -32,7 +32,6 @@ class IncrementalDecoderInterface {
int *inputXs, int *inputYs, int *times, int *pointerIds, int *codes,
int inputSize, int commitPoint, unsigned short *outWords, int *frequencies,
int *outputIndices, int *outputTypes) = 0;
- virtual void reset() = 0;
virtual void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
const uint8_t *dictRoot, int rootPos) = 0;
virtual ~IncrementalDecoderInterface() { };
diff --git a/native/jni/src/gesture/incremental_decoder_wrapper.h b/native/jni/src/gesture/incremental_decoder_wrapper.h
index 2f9602853..477b2cc8a 100644
--- a/native/jni/src/gesture/incremental_decoder_wrapper.h
+++ b/native/jni/src/gesture/incremental_decoder_wrapper.h
@@ -48,13 +48,6 @@ class IncrementalDecoderWrapper : public IncrementalDecoderInterface {
inputSize, commitPoint, outWords, frequencies, outputIndices, outputTypes);
}
- void reset() {
- if (!mIncrementalDecoderInterface) {
- return;
- }
- mIncrementalDecoderInterface->reset();
- }
-
void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram,
const uint8_t *dictRoot, int rootPos) {
if (!mIncrementalDecoderInterface) {