summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf/ecore_imf_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_imf/ecore_imf_context.c')
-rw-r--r--src/lib/ecore_imf/ecore_imf_context.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index 961c4ae3c3..e7f1f67d68 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -1406,4 +1406,18 @@ ecore_imf_context_keyboard_mode_get(Ecore_IMF_Context *ctx)
1406 mode = ctx->klass->keyboard_mode_get(ctx); 1406 mode = ctx->klass->keyboard_mode_get(ctx);
1407 1407
1408 return mode; 1408 return mode;
1409}
1410
1411EAPI void
1412ecore_imf_context_prediction_hint_set(Ecore_IMF_Context *ctx, const char *prediction_hint)
1413{
1414 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1415 {
1416 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1417 "ecore_imf_context_prediction_hint_set");
1418 return;
1419 }
1420
1421 if (ctx->klass->prediction_hint_set)
1422 ctx->klass->prediction_hint_set(ctx, prediction_hint);
1409} \ No newline at end of file 1423} \ No newline at end of file