diff options
author | Jihoon Kim <jihoon48.kim@samsung.com> | 2016-10-18 07:58:05 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-10-18 07:58:05 -0700 |
commit | d9e8fa4ad124a40d89bf7a551d7133c2180706ff (patch) | |
tree | 620ece0ada288d2d5011c30ac5d3d5fc8cc40a7f | |
parent | dd373b6760c24494e2776cbea50ba87976534de7 (diff) | |
parent | 0fd0ff840949ee100ce82dba303fd9f54b27d8ec (diff) | |
download | ise-engine-anthy-d9e8fa4ad124a40d89bf7a551d7133c2180706ff.tar.gz ise-engine-anthy-d9e8fa4ad124a40d89bf7a551d7133c2180706ff.tar.bz2 ise-engine-anthy-d9e8fa4ad124a40d89bf7a551d7133c2180706ff.zip |
Merge "Flush in case of S/W keyboard needed" into tizen
-rwxr-xr-x | src/scim_anthy_helper.h | 2 | ||||
-rwxr-xr-x | src/scim_anthy_imengine.cpp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/scim_anthy_helper.h b/src/scim_anthy_helper.h index 9af9dd3..4c3b6c3 100755 --- a/src/scim_anthy_helper.h +++ b/src/scim_anthy_helper.h @@ -30,5 +30,7 @@ #define SCIM_ANTHY_TRANS_CMD_TIMEOUT_ADD SCIM_TRANS_CMD_USER_DEFINED + 4 #define SCIM_ANTHY_TRANS_CMD_TIMEOUT_REMOVE SCIM_TRANS_CMD_USER_DEFINED + 5 #define SCIM_ANTHY_TRANS_CMD_TIMEOUT_NOTIFY SCIM_TRANS_CMD_USER_DEFINED + 6 +#define ISE_DEFAULT_FLUSH_EVENT_CMD 1001 + #endif /* __SCIM_ANTHY_HELPER_H__ */ diff --git a/src/scim_anthy_imengine.cpp b/src/scim_anthy_imengine.cpp index 9e8956f..0330f41 100755 --- a/src/scim_anthy_imengine.cpp +++ b/src/scim_anthy_imengine.cpp @@ -2229,6 +2229,11 @@ AnthyInstance::process_helper_event (const String &helper_uuid, return; switch (cmd) { + case ISE_DEFAULT_FLUSH_EVENT_CMD: + { + action_commit (m_factory->m_learn_on_auto_commit); + break; + } case SCIM_ANTHY_TRANS_CMD_GET_SELECTION: { // For reconversion feature, but this code is ad-hoc solution. |