Move to internal.h some func prototypes 59/65259/2
authorMyungki Lee <mk5004.lee@samsung.com>
Fri, 8 Apr 2016 07:22:58 +0000 (16:22 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Fri, 8 Apr 2016 07:22:58 +0000 (16:22 +0900)
- app_control_set_defapp, app_control_unset_defapp

Change-Id: Ie15b040a7f9e93ebbf4c6f2980ad4f80a24dc96f
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
include/app_control.h
include/app_control_internal.h

index b8d65bc..06e1706 100644 (file)
@@ -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);
-/**
  * @}
  */
 
index 319c2ed..26f4217 100644 (file)
@@ -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);
+/**
  * @}
  */