Add code to handle ime_event_set_input_hint_set_cb() 25/250625/3
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 30 Dec 2020 08:34:39 +0000 (17:34 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 2 Feb 2021 07:44:55 +0000 (16:44 +0900)
Change-Id: I7814e15530a55e048dd782a1e2e41b980072fb5b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise.cpp

index ecacd55..06fca98 100644 (file)
@@ -2904,6 +2904,11 @@ static void ime_app_layout_set_cb(Ecore_IMF_Input_Panel_Layout layout, void *use
     engine_loader_set_layout(static_cast<uint32_t>(layout));
 }
 
+static void ime_app_input_hint_set_cb(Ecore_IMF_Input_Hints input_hint, void *user_data)
+{
+    LOGD("input hint=%u\n", input_hint);
+}
+
 static void ime_app_rotation_degree_changed_cb(int degree, void *user_data)
 {
     KEYBOARD_STATE *keyboard_state = get_keyboard_state();
@@ -3339,6 +3344,7 @@ EXPORTED void ime_app_main(int argc, char **argv)
     ime_event_set_imdata_set_cb(ime_app_imdata_set_cb, NULL);
     ime_event_set_process_key_event_cb(ime_app_process_key_event_cb, NULL);
     ime_event_set_process_key_event_with_imengine_cb(ime_app_process_key_event_with_imengine_cb, NULL);
+    ime_event_set_input_hint_set_cb(ime_app_input_hint_set_cb, NULL);
 
     ime_event_set_candidate_show_cb(ime_app_candidate_show_cb, NULL);
     ime_event_set_candidate_hide_cb(ime_app_candidate_hide_cb, NULL);