Fix widget_service_get_widget_instance_list API return value desc 96/77496/5 accepted/tizen/common/20160829.140005 submit/tizen/20160829.010716
authorHyunho Kang <hhstark.kang@samsung.com>
Tue, 23 Aug 2016 02:48:26 +0000 (11:48 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Tue, 23 Aug 2016 02:48:26 +0000 (11:48 +0900)
Change-Id: I30a4a25a4641edcddc70c3b970257d5896d0750f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
include/widget_service.h

index 13d5280..9056288 100644 (file)
@@ -473,9 +473,11 @@ typedef int (*widget_instance_list_cb)(const char *widget_id, const char *instan
  * @param[in] widget_id appid of widget application
  * @param[in] cb Callback function
  * @param[in] data user data for callback function
- * @return 0 on success, otherwise a negative error value
- * @retval #WIDGET_ERROR_IO_ERROR Failed to access DB
+ * @return Negative error value on fail, otherwise count of instances
+ * @retval #WIDGET_ERROR_NOT_EXIST Instance is not exist
  * @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
+ * @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #WIDGET_ERROR_NOT_SUPPORTED Not supported
  * @see #widget_instance_list_cb
  */
 extern int widget_service_get_widget_instance_list(const char *widget_id, widget_instance_list_cb cb, void *data);