From 2731ab5ff4fcc5a296e808dddbf3c938e31476f5 Mon Sep 17 00:00:00 2001 From: Myungki Lee Date: Fri, 8 Apr 2016 16:22:58 +0900 Subject: [PATCH] Move to internal.h some func prototypes - app_control_set_defapp, app_control_unset_defapp Change-Id: Ie15b040a7f9e93ebbf4c6f2980ad4f80a24dc96f Signed-off-by: Myungki Lee --- include/app_control.h | 38 -------------------------------------- include/app_control_internal.h | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/include/app_control.h b/include/app_control.h index b8d65bc..06e1706 100644 --- a/include/app_control.h +++ b/include/app_control.h @@ -1080,44 +1080,6 @@ int app_control_get_launch_mode(app_control_h app_control, int app_control_enable_app_started_result_event(app_control_h app_control); /** - * @platform - * @brief Sets the ID of default application associated with operation, mime-type and uri. - * - * @since_tizen 3.0 - * @privlevel platform - * @privilege %http://tizen.org/privilege/systemsettings.admin - * @param[in] app_control The app_control handle - * @param[in] app_id The ID of the application - * - * @return 0 on success, otherwise a negative error value - * @retval #APP_CONTROL_ERROR_NONE Successful - * @retval #APP_CONTROL_ERROR_PERMISSION_DENIED Permission denied - * @retval #APP_CONTROL_ERROR_IO_ERROR IO error - * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter - * - */ -int app_control_set_defapp(app_control_h app_control, const char *app_id); - -/** - * @platform - * @brief Unsets default application control setting of an application. - * - * @details When an user call this API, all the default application settings for the app_id are unset. - * - * @since_tizen 3.0 - * @privlevel platform - * @privilege %http://tizen.org/privilege/systemsettings.admin - * @param[in] app_id The ID of the application - * - * @return 0 on success, otherwise a negative error value - * @retval #APP_CONTROL_ERROR_NONE Successful - * @retval #APP_CONTROL_ERROR_PERMISSION_DENIED Permission denied - * @retval #APP_CONTROL_ERROR_IO_ERROR IO error - * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter - * - */ -int app_control_unset_defapp(const char *app_id); -/** * @} */ diff --git a/include/app_control_internal.h b/include/app_control_internal.h index 319c2ed..26f4217 100644 --- a/include/app_control_internal.h +++ b/include/app_control_internal.h @@ -161,6 +161,44 @@ int app_control_get_window(app_control_h app_control, unsigned int *id); int app_control_request_transient_app(app_control_h app_control, unsigned int callee_id, app_control_host_res_fn cbfunc, void *data); /** + * @platform + * @brief Sets the ID of default application associated with operation, mime-type and uri. + * + * @since_tizen 3.0 + * @privlevel platform + * @privilege %http://tizen.org/privilege/systemsettings.admin + * @param[in] app_control The app_control handle + * @param[in] app_id The ID of the application + * + * @return 0 on success, otherwise a negative error value + * @retval #APP_CONTROL_ERROR_NONE Successful + * @retval #APP_CONTROL_ERROR_PERMISSION_DENIED Permission denied + * @retval #APP_CONTROL_ERROR_IO_ERROR IO error + * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter + * + */ +int app_control_set_defapp(app_control_h app_control, const char *app_id); + +/** + * @platform + * @brief Unsets default application control setting of an application. + * + * @details When an user call this API, all the default application settings for the app_id are unset. + * + * @since_tizen 3.0 + * @privlevel platform + * @privilege %http://tizen.org/privilege/systemsettings.admin + * @param[in] app_id The ID of the application + * + * @return 0 on success, otherwise a negative error value + * @retval #APP_CONTROL_ERROR_NONE Successful + * @retval #APP_CONTROL_ERROR_PERMISSION_DENIED Permission denied + * @retval #APP_CONTROL_ERROR_IO_ERROR IO error + * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter + * + */ +int app_control_unset_defapp(const char *app_id); +/** * @} */ -- 2.7.4