Revert "ecore_imf: Add ecore_imf_context_keyboard_mode_get API"
This reverts commit 4533eef59b
.
this commit breaks efl's build and can't be fixed - missing types.
This commit is contained in:
parent
2055a876c4
commit
0a600a45d3
|
@ -700,7 +700,6 @@ struct _Ecore_IMF_Context_Class
|
||||||
void (*candidate_panel_geometry_get)(Ecore_IMF_Context *ctx, int *x, int *y, int *w, int *h); /**< Return the candidate panel geometry */
|
void (*candidate_panel_geometry_get)(Ecore_IMF_Context *ctx, int *x, int *y, int *w, int *h); /**< Return the candidate panel geometry */
|
||||||
void (*input_hint_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Hints input_hints); /**< Sets input hint to fine-tune input methods behavior */
|
void (*input_hint_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Hints input_hints); /**< Sets input hint to fine-tune input methods behavior */
|
||||||
void (*bidi_direction_set) (Ecore_IMF_Context *ctx, Ecore_IMF_BiDi_Direction direction); /**< Set bidirectionality at the cursor position */
|
void (*bidi_direction_set) (Ecore_IMF_Context *ctx, Ecore_IMF_BiDi_Direction direction); /**< Set bidirectionality at the cursor position */
|
||||||
Ecore_IMF_Input_Panel_Keyboard_Mode (*keyboard_mode_get) (Ecore_IMF_Context *ctx); /**< Return the current keyboard mode of the input panel */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1862,17 +1861,6 @@ EAPI void ecore_imf_context_bidi_direction_set(Ecore_IM
|
||||||
*/
|
*/
|
||||||
EAPI Ecore_IMF_BiDi_Direction ecore_imf_context_bidi_direction_get(Ecore_IMF_Context *ctx);
|
EAPI Ecore_IMF_BiDi_Direction ecore_imf_context_bidi_direction_get(Ecore_IMF_Context *ctx);
|
||||||
|
|
||||||
/**
|
|
||||||
* @ingroup Ecore_IMF_Context_Group
|
|
||||||
* @brief Get the keyboard mode on the input panel.
|
|
||||||
*
|
|
||||||
* @since 1.20.0
|
|
||||||
*
|
|
||||||
* @param[in] ctx An #Ecore_IMF_Context
|
|
||||||
* @return the keyboard mode
|
|
||||||
*/
|
|
||||||
EAPI Ecore_IMF_Input_Panel_Keyboard_Mode ecore_imf_context_keyboard_mode_get(Ecore_IMF_Context *ctx);
|
|
||||||
|
|
||||||
/* The following entry points must be exported by each input method module
|
/* The following entry points must be exported by each input method module
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1391,19 +1391,3 @@ ecore_imf_context_bidi_direction_get(Ecore_IMF_Context *ctx)
|
||||||
return ctx->bidi_direction;
|
return ctx->bidi_direction;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Ecore_IMF_Input_Panel_Keyboard_Mode
|
|
||||||
ecore_imf_context_keyboard_mode_get(Ecore_IMF_Context *ctx)
|
|
||||||
{
|
|
||||||
Ecore_IMF_Input_Panel_Keyboard_Mode mode = ECORE_IMF_INPUT_PANEL_SW_KEYBOARD_MODE;
|
|
||||||
if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
|
|
||||||
{
|
|
||||||
ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
|
|
||||||
"ecore_imf_context_keyboard_mode_get");
|
|
||||||
return ECORE_IMF_INPUT_PANEL_SW_KEYBOARD_MODE;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ctx->klass->keyboard_mode_get)
|
|
||||||
mode = ctx->klass->keyboard_mode_get(ctx);
|
|
||||||
|
|
||||||
return mode;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue