*/
int app_control_remove_action_handler(app_control_action_h handle);
+/**
+ * @brief Sets the ID of the component.
+ * @since_tizen 5.5
+ * @remarks If the @a component_id is null, the @a component_id set previously will be removed.
+ * @remarks The @a component_id is declared by the component-based app, and it is unique globally.
+ *
+ * @param[in] app_control The app_control handle
+ * @param[in] component_id The ID of the component which will receive the @a app_control
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #APP_CONTROL_ERROR_NONE Successful
+ * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #APP_CONTROL_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int app_control_set_component_id(app_control_h app_control,
+ const char *component_id);
+
+/**
+ * @brief Gets the ID of the component.
+ * @since_tizen 5.5
+ * @remarks The @a component_id must be released using free().
+ *
+ * @param[in] app_control The app_control handle
+ * @param[out] component_id The ID of the component which will receive the @a app_control
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #APP_CONTROL_ERROR_NONE Successful
+ * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #APP_CONTROL_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int app_control_get_component_id(app_control_h app_control,
+ char **component_id);
+
/**
* @}
*/
*/
int app_control_set_caller_instance_id(app_control_h app_control, const char *instance_id);
-/**
- * @brief Sets the ID of the component.
- * @since_tizen 5.5
- *
- * @param[in] app_control The app_control handle
- * @param[in] component_id The ID of the component
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #APP_CONTROL_ERROR_NONE Successful
- * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #APP_CONTROL_ERROR_OUT_OF_MEMORY Out of memory
- */
-int app_control_set_component_id(app_control_h app_control,
- const char *component_id);
-
-/**
- * @brief Gets the ID of the component.
- * @since_tizen 5.5
- * @remarks The @a component_id must be released using free().
- *
- * @param[in] app_control The app_control handle
- * @param[out] component_id The ID of the component
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #APP_CONTROL_ERROR_NONE Successful
- * @retval #APP_CONTROL_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #APP_CONTROL_ERROR_OUT_OF_MEMORY Out of memory
- */
-int app_control_get_component_id(app_control_h app_control,
- char **component_id);
-
/**
* @}
*/