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.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index e7f1f67d68..2ac7d59e7f 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -1420,4 +1420,20 @@ ecore_imf_context_prediction_hint_set(Ecore_IMF_Context *ctx, const char *predic
1420 1420
1421 if (ctx->klass->prediction_hint_set) 1421 if (ctx->klass->prediction_hint_set)
1422 ctx->klass->prediction_hint_set(ctx, prediction_hint); 1422 ctx->klass->prediction_hint_set(ctx, prediction_hint);
1423}
1424
1425EAPI void
1426ecore_imf_context_mime_type_accept_set(Ecore_IMF_Context *ctx, const char *mime_type)
1427{
1428 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1429 {
1430 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1431 "ecore_imf_context_mime_type_accept_set");
1432 return;
1433 }
1434
1435 if (!mime_type) return;
1436
1437 if (ctx->klass->mime_type_accept_set)
1438 ctx->klass->mime_type_accept_set(ctx, mime_type);
1423} \ No newline at end of file 1439} \ No newline at end of file