aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/t9write.h
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2017-08-30 22:17:36 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2017-09-08 17:11:23 +0000
commitf430cffbe94f0bf906b241bbca3fd3f91b3dba86 (patch)
tree771c1c95607a87c9321557a51f485f47232b2b8c /src/virtualkeyboard/t9write.h
parentc8c4f832ec5853949604d1055a5b32394d23184c (diff)
3rdparty/t9write: Remove unused code
t9writeworker.cpp contained old unused code for result processing. Remove it. The instant gesture detection is useless in worker thread, since it is meant to be used in main thread for a specific use case in SCR mode. We don't need it, so remove it. Finally, the abort functionality of the recognition call was tested by calling the recognize function with interrupt function. This will not work in v8.0.0 anymore, where the recognize function will return error for all subsequent calls, even by setting the interrupt function to NULL. Instead, we now use a proper compile-time functional check. Change-Id: Ic98fd3b45912f29a4c72e3650f98b7b520c4ade9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/virtualkeyboard/t9write.h')
-rw-r--r--src/virtualkeyboard/t9write.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/virtualkeyboard/t9write.h b/src/virtualkeyboard/t9write.h
index 621d2312..beebbaa2 100644
--- a/src/virtualkeyboard/t9write.h
+++ b/src/virtualkeyboard/t9write.h
@@ -37,6 +37,7 @@
#ifdef HAVE_T9WRITE_CJK
#include "decuma_hwr_cjk.h"
#endif
+#include "decumaFunctionalSupport.h"
#if defined(HAVE_T9WRITE_CJK) && defined(HAVE_T9WRITE_ALPHABETIC)
#define DECUMA_API(FUNC_NAME) (cjk ? decumaCJK ## FUNC_NAME : decuma ## FUNC_NAME)