From f430cffbe94f0bf906b241bbca3fd3f91b3dba86 Mon Sep 17 00:00:00 2001 From: Jarkko Koivikko Date: Wed, 30 Aug 2017 22:17:36 +0300 Subject: 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 --- src/virtualkeyboard/t9write.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/virtualkeyboard/t9write.h') 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) -- cgit v1.2.3