aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/gesture/typing_decoder_wrapper.cpp
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2012-12-20 17:44:54 +0900
committerSatoshi Kataoka <satok@google.com>2012-12-20 17:49:46 +0900
commit4801fd66d63a26c76344f304c5179e4aec88a347 (patch)
tree39ae677995c01c448a4c3278aeddbfd09b1807cf /native/jni/src/gesture/typing_decoder_wrapper.cpp
parentc2049c3284e6fb64860f133c798388582b35b862 (diff)
downloadlatinime-4801fd66d63a26c76344f304c5179e4aec88a347.tar.gz
latinime-4801fd66d63a26c76344f304c5179e4aec88a347.tar.xz
latinime-4801fd66d63a26c76344f304c5179e4aec88a347.zip
Cleanup decoder wrapper
Change-Id: Iade1c3954f151edce313856395dc5083e820aa93
Diffstat (limited to 'native/jni/src/gesture/typing_decoder_wrapper.cpp')
-rw-r--r--native/jni/src/gesture/typing_decoder_wrapper.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/native/jni/src/gesture/typing_decoder_wrapper.cpp b/native/jni/src/gesture/typing_decoder_wrapper.cpp
new file mode 100644
index 000000000..55dd1d4d9
--- /dev/null
+++ b/native/jni/src/gesture/typing_decoder_wrapper.cpp
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "typing_decoder_wrapper.h"
+
+namespace latinime {
+ IncrementalDecoderInterface *
+ (*TypingDecoderWrapper::sIncrementalDecoderFactoryMethod)(int, int) = 0;
+
+ TypingDecoderWrapper::~TypingDecoderWrapper() {
+ delete mIncrementalDecoderInterface;
+ }
+} // namespace latinime