From 10b4cb919aae8887094ff1efecc651432f4eee35 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Mon, 1 Oct 2018 11:07:58 +0900 Subject: [PATCH] Fixed parameter type of app_control_result_cb function app_control_result_e is changed to app_control_error_e. Change-Id: I5e577cacfdd7d23e5469112d261d2d4828277735 Signed-off-by: Hwankyu Jhun --- include/app_control.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/app_control.h b/include/app_control.h index 7a55be7..82d6898 100755 --- a/include/app_control.h +++ b/include/app_control.h @@ -694,6 +694,12 @@ typedef bool (*app_control_app_matched_cb)(app_control_h app_control, const char /** * @brief Called when the result of the launch request is delivered. + * @details Following error codes can be delivered: \n + * #APP_CONTROL_ERROR_NONE, \n + * #APP_CONTROL_ERROR_APP_NOT_FOUND, \n + * #APP_CONTROL_ERROR_PERMISSION_DENIED, \n + * #APP_CONTROL_ERROR_INVALID_PARAMETER, \n + * #APP_CONTROL_ERROR_LAUNCH_REJECTED * * @since_tizen 5.0 * @remakrs The @a request is the same object for which app_control_send_launch_request_async() was called. @@ -702,7 +708,7 @@ typedef bool (*app_control_app_matched_cb)(app_control_h app_control, const char * @param[in] user_data The user data passed from the callback registration function * @see app_control_send_launch_request_async() */ -typedef void (*app_control_result_cb)(app_control_h request, app_control_result_e result, void *user_data); +typedef void (*app_control_result_cb)(app_control_h request, app_control_error_e result, void *user_data); typedef int (*app_control_host_res_fn)(void *data); -- 2.7.4