From 1c404670cbd19b2a2a086d63fe0633634f089feb Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 15 Oct 2019 16:11:53 +0900 Subject: [PATCH] Remove typo APIs Change-Id: Iba3e83699f4fbdc614cf772300f41dae7cba7567 Signed-off-by: Jihoon Kim --- include/autofill_service.h | 19 ------------------- service_lib/autofill_service.c | 10 ---------- 2 files changed, 29 deletions(-) diff --git a/include/autofill_service.h b/include/autofill_service.h index 604ace6..dcf1013 100644 --- a/include/autofill_service.h +++ b/include/autofill_service.h @@ -189,17 +189,6 @@ int autofill_service_send_fill_response(int context_id, autofill_fill_response_h * @retval #AUTOFILL_ERROR_NONE No error * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter */ -int autofill_service_set_commited_cb(autofill_service_committed_cb callback, void *user_data); - -/** - * @brief Sets the callback to receive the commit request. - * @since_tizen 5.5 - * @param[in] callback The callback function to register - * @param[in] user_data The user data to be passed to the callback function - * @return 0 on success, otherwise a negative error value - * @retval #AUTOFILL_ERROR_NONE No error - * @retval #AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter - */ int autofill_service_set_committed_cb(autofill_service_committed_cb callback, void *user_data); /** @@ -208,14 +197,6 @@ int autofill_service_set_committed_cb(autofill_service_committed_cb callback, vo * @return 0 on success, otherwise a negative error value * @retval #AUTOFILL_ERROR_NONE No error */ -int autofill_service_unset_commited_cb(void); - -/** - * @brief Unsets the callback to receive the commit request. - * @since_tizen 5.5 - * @return 0 on success, otherwise a negative error value - * @retval #AUTOFILL_ERROR_NONE No error - */ int autofill_service_unset_committed_cb(void); /** diff --git a/service_lib/autofill_service.c b/service_lib/autofill_service.c index a9520b1..ad2df1c 100644 --- a/service_lib/autofill_service.c +++ b/service_lib/autofill_service.c @@ -686,11 +686,6 @@ EXPORT_API int autofill_service_send_fill_response(int context_id, autofill_fill return ret; } -EXPORT_API int autofill_service_set_commited_cb(autofill_service_committed_cb callback, void *user_data) -{ - return autofill_service_set_committed_cb(callback, user_data); -} - EXPORT_API int autofill_service_set_committed_cb(autofill_service_committed_cb callback, void *user_data) { if (!callback) { @@ -704,11 +699,6 @@ EXPORT_API int autofill_service_set_committed_cb(autofill_service_committed_cb c return AUTOFILL_ERROR_NONE; } -EXPORT_API int autofill_service_unset_commited_cb(void) -{ - return autofill_service_unset_committed_cb(); -} - EXPORT_API int autofill_service_unset_committed_cb(void) { g_autofill_service_committed_cb = NULL; -- 2.7.4