From 03766e88fe87e352fa3e0881fb5093173d06537e Mon Sep 17 00:00:00 2001 From: Kyuho Jo Date: Mon, 18 May 2015 15:28:25 +0900 Subject: Move widget_service_get_supported_size_types to public header file by ACR. Change-Id: I5b0d6311191912dcc70c8005d83917c0057d9e7f Signed-off-by: Kyuho Jo --- include/widget_service.h | 18 ++++++++++++++++++ include/widget_service_internal.h | 19 ------------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/include/widget_service.h b/include/widget_service.h index 0e6db28..21f3cb8 100755 --- a/include/widget_service.h +++ b/include/widget_service.h @@ -437,6 +437,24 @@ extern int widget_service_get_nodisplay(const char *widget_id); */ extern int widget_service_get_supported_sizes(const char *widget_id, int *cnt, int **w, int **h); +/** + * @brief Gets the supported size list of given widget id. + * @since_tizen 2.3.1 + * @param[in] widgetid appid of widget application + * @param[in] cnt Size of types array + * @param[out] cnt Result count of types array + * @param[out] types Array of types + * @privlevel public + * @privilege %http://tizen.org/privilege/widget.viewer + * @return 0 on success, otherwise a negative error value + * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument + * @retval #WIDGET_ERROR_IO_ERROR Failed to access DB + * @retval #WIDGET_ERROR_NONE Successfully done + * @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied + * @see widget_service_get_supported_sizes() + */ +extern int widget_service_get_supported_size_types(const char *widgetid, int *cnt, int **types); + /** * @brief Callback function for getting result of widget_service_get_widget_instance_list * @since_tizen 2.3.1 diff --git a/include/widget_service_internal.h b/include/widget_service_internal.h index 917971a..bd52d34 100755 --- a/include/widget_service_internal.h +++ b/include/widget_service_internal.h @@ -488,25 +488,6 @@ extern char *widget_service_get_gbar_script_path(const char *widgetid); */ extern char *widget_service_get_gbar_script_group(const char *widgetid); -/** - * @internal - * @brief Gets the supported size list of given pkgid. - * @since_tizen 2.3.1 - * @param[in] widgetid appid of widget application - * @param[in] cnt Size of types array - * @param[out] cnt Result count of types array - * @param[out] types Array of types - * @privlevel public - * @privilege %http://tizen.org/privilege/widget.viewer - * @return 0 on success, otherwise a negative error value - * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument - * @retval #WIDGET_ERROR_IO_ERROR Failed to access DB - * @retval #WIDGET_ERROR_NONE Successfully done - * @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied - * @see widget_service_get_supported_sizes() - */ -extern int widget_service_get_supported_size_types(const char *widgetid, int *cnt, int **types); - /** * @internal * @brief Gets the category list of given cluster. -- cgit v1.2.3