From: Wonkeun Oh Date: Tue, 12 Jan 2016 12:24:25 +0000 (+0900) Subject: ecore_imf: Added new input_panel_event_callback type for keyboard mode. X-Git-Tag: accepted/tizen/mobile/20160122.034115~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b9ad2aeefc7c3c5799ad3f91f3d6070d22d988f;p=platform%2Fupstream%2Fefl.git 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 --- 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;