From 4b9ad2aeefc7c3c5799ad3f91f3d6070d22d988f Mon Sep 17 00:00:00 2001 From: Wonkeun Oh Date: Tue, 12 Jan 2016 21:24:25 +0900 Subject: [PATCH] ecore_imf: Added new input_panel_event_callback type for keyboard mode. Applications want to know the current keyboard mode state to handle application's size manually. Change-Id: I3bb5bb243ea1185696e12ae94ded5ca6154187c6 --- src/lib/ecore_imf/Ecore_IMF.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_imf/Ecore_IMF.h b/src/lib/ecore_imf/Ecore_IMF.h index 5e9766c..20fc218 100644 --- a/src/lib/ecore_imf/Ecore_IMF.h +++ b/src/lib/ecore_imf/Ecore_IMF.h @@ -90,7 +90,8 @@ typedef enum ECORE_IMF_INPUT_PANEL_SHIFT_MODE_EVENT, /**< called when the shift key state of the input panel is changed @since 1.7 */ ECORE_IMF_INPUT_PANEL_GEOMETRY_EVENT, /**< called when the size of the input panel is changed. @since 1.7 */ ECORE_IMF_CANDIDATE_PANEL_STATE_EVENT, /**< called when the state of the candidate word panel is changed. @since 1.7 */ - ECORE_IMF_CANDIDATE_PANEL_GEOMETRY_EVENT /**< called when the size of the candidate word panel is changed. @since 1.7 */ + ECORE_IMF_CANDIDATE_PANEL_GEOMETRY_EVENT, /**< called when the size of the candidate word panel is changed. @since 1.7 */ + ECORE_IMF_INPUT_PANEL_KEYBOARD_MODE_EVENT /**< called when the keyboard mode state of the input panel is changed @since 1.18 */ } Ecore_IMF_Input_Panel_Event; /** @@ -124,6 +125,16 @@ typedef enum ECORE_IMF_CANDIDATE_PANEL_HIDE /**< Notification prior to the dismissal of the candidate word panel @since 1.7 */ } Ecore_IMF_Candidate_Panel_State; +/** + * @typedef Ecore_IMF_Input_Panel_Keyboard_Mode + * Enum containing keyboard mode states. + */ +typedef enum +{ + ECORE_IMF_INPUT_PANEL_HW_KEYBOARD_MODE, /**< @since 1.18 */ + ECORE_IMF_INPUT_PANEL_SW_KEYBOARD_MODE /**< @since 1.18 */ +} Ecore_IMF_Input_Panel_Keyboard_Mode; + /* Events sent by the Input Method */ typedef struct _Ecore_IMF_Event_Preedit_Start Ecore_IMF_Event_Preedit_Start; typedef struct _Ecore_IMF_Event_Preedit_End Ecore_IMF_Event_Preedit_End; -- 2.7.4