From: Jihoon Kim Date: Fri, 13 Jul 2018 07:12:58 +0000 (+0900) Subject: Expose ime_request_hide() API as public API X-Git-Tag: submit/tizen/20180716.102112~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1805365b519a0e4fba421f614c5eadf3f60c1edf;p=platform%2Fcore%2Fapi%2Finputmethod.git Expose ime_request_hide() API as public API Change-Id: Idf4fcc013cfa98cfaa77f3bb84c4fd4cb2643c6f Signed-off-by: Jihoon Kim --- diff --git a/include/inputmethod.h b/include/inputmethod.h index b621acc..e9fa057 100644 --- a/include/inputmethod.h +++ b/include/inputmethod.h @@ -2406,6 +2406,22 @@ int ime_set_floating_drag_end(void); */ int ime_event_set_prediction_hint_data_set_cb(ime_prediction_hint_data_set_cb callback_func, void *user_data); +/** + * @brief Sends the request to hide IME. + * + * @since_tizen 5.0 + * + * @privlevel public + * + * @privilege %http://tizen.org/privilege/ime + * + * @return 0 on success, otherwise a negative error value + * @retval #IME_ERROR_NONE No error + * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function + * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet + */ +int ime_request_hide(); + /** * @} */ diff --git a/include/inputmethod_internal.h b/include/inputmethod_internal.h index 7ff13ad..e21b103 100644 --- a/include/inputmethod_internal.h +++ b/include/inputmethod_internal.h @@ -281,20 +281,6 @@ int ime_select_candidate(unsigned int index); */ int ime_update_input_context(unsigned int type, unsigned int value); -/** - * @brief Send the request to hide IME. - * - * @since_tizen 3.0 - * - * @privilege %http://tizen.org/privilege/ime - * - * @return 0 on success, otherwise a negative error value - * @retval #IME_ERROR_NONE No error - * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function - * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet - */ -int ime_request_hide(); - /** * @brief Explicitly request IME to initialize *