summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-17 17:23:19 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-17 17:23:19 +0900
commit0a600a45d3def6ab1336d2a4a4503e6059ca5e85 (patch)
treeb2e666eabf4a61350420ac7c2e7bf1234c561f42 /src/lib/ecore_imf
parent2055a876c48df42f598cdc2e097a4e9b0d9d9d7c (diff)
Revert "ecore_imf: Add ecore_imf_context_keyboard_mode_get API"
This reverts commit 4533eef59b3b84c28ed6cd5814d753291df3f6f1. this commit breaks efl's build and can't be fixed - missing types.
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/Ecore_IMF.h12
-rw-r--r--src/lib/ecore_imf/ecore_imf_context.c16
2 files changed, 0 insertions, 28 deletions
diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h
index 8f2fa2a..6bca58f 100644
--- a/src/lib/ecore_imf/Ecore_IMF.h
+++ b/src/lib/ecore_imf/Ecore_IMF.h
@@ -700,7 +700,6 @@ struct _Ecore_IMF_Context_Class
700 void (*candidate_panel_geometry_get)(Ecore_IMF_Context *ctx, int *x, int *y, int *w, int *h); /**< Return the candidate panel geometry */ 700 void (*candidate_panel_geometry_get)(Ecore_IMF_Context *ctx, int *x, int *y, int *w, int *h); /**< Return the candidate panel geometry */
701 void (*input_hint_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Hints input_hints); /**< Sets input hint to fine-tune input methods behavior */ 701 void (*input_hint_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Hints input_hints); /**< Sets input hint to fine-tune input methods behavior */
702 void (*bidi_direction_set) (Ecore_IMF_Context *ctx, Ecore_IMF_BiDi_Direction direction); /**< Set bidirectionality at the cursor position */ 702 void (*bidi_direction_set) (Ecore_IMF_Context *ctx, Ecore_IMF_BiDi_Direction direction); /**< Set bidirectionality at the cursor position */
703 Ecore_IMF_Input_Panel_Keyboard_Mode (*keyboard_mode_get) (Ecore_IMF_Context *ctx); /**< Return the current keyboard mode of the input panel */
704}; 703};
705 704
706/** 705/**
@@ -1862,17 +1861,6 @@ EAPI void ecore_imf_context_bidi_direction_set(Ecore_IM
1862 */ 1861 */
1863EAPI Ecore_IMF_BiDi_Direction ecore_imf_context_bidi_direction_get(Ecore_IMF_Context *ctx); 1862EAPI Ecore_IMF_BiDi_Direction ecore_imf_context_bidi_direction_get(Ecore_IMF_Context *ctx);
1864 1863
1865/**
1866 * @ingroup Ecore_IMF_Context_Group
1867 * @brief Get the keyboard mode on the input panel.
1868 *
1869 * @since 1.20.0
1870 *
1871 * @param[in] ctx An #Ecore_IMF_Context
1872 * @return the keyboard mode
1873 */
1874EAPI Ecore_IMF_Input_Panel_Keyboard_Mode ecore_imf_context_keyboard_mode_get(Ecore_IMF_Context *ctx);
1875
1876/* The following entry points must be exported by each input method module 1864/* The following entry points must be exported by each input method module
1877 */ 1865 */
1878 1866
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index a7289ba..d6fd854 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -1391,19 +1391,3 @@ ecore_imf_context_bidi_direction_get(Ecore_IMF_Context *ctx)
1391 return ctx->bidi_direction; 1391 return ctx->bidi_direction;
1392} 1392}
1393 1393
1394EAPI Ecore_IMF_Input_Panel_Keyboard_Mode
1395ecore_imf_context_keyboard_mode_get(Ecore_IMF_Context *ctx)
1396{
1397 Ecore_IMF_Input_Panel_Keyboard_Mode mode = ECORE_IMF_INPUT_PANEL_SW_KEYBOARD_MODE;
1398 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1399 {
1400 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1401 "ecore_imf_context_keyboard_mode_get");
1402 return ECORE_IMF_INPUT_PANEL_SW_KEYBOARD_MODE;
1403 }
1404
1405 if (ctx->klass->keyboard_mode_get)
1406 mode = ctx->klass->keyboard_mode_get(ctx);
1407
1408 return mode;
1409}