summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2015-05-18 15:28:25 +0900
committerKyuho Jo <kyuho.jo@samsung.com>2015-05-18 15:28:25 +0900
commit03766e88fe87e352fa3e0881fb5093173d06537e (patch)
treea418271517a677f2809a56501be435cbf08b2464
parent9985ffc296e0e1e859f0d023011285e88b0baabd (diff)
downloadwidget-service-03766e88fe87e352fa3e0881fb5093173d06537e.tar.gz
widget-service-03766e88fe87e352fa3e0881fb5093173d06537e.tar.bz2
widget-service-03766e88fe87e352fa3e0881fb5093173d06537e.zip
Move widget_service_get_supported_size_types to public header file by ACR.
Change-Id: I5b0d6311191912dcc70c8005d83917c0057d9e7f Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rwxr-xr-xinclude/widget_service.h18
-rwxr-xr-xinclude/widget_service_internal.h19
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
@@ -438,6 +438,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
* @param[in] widget_id widget app id
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
@@ -490,25 +490,6 @@ 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.
* @since_tizen 2.3.1
* @param[in] cluster Cluster name