From: yujie.cheng Date: Wed, 4 Jul 2018 08:11:20 +0000 (+0800) Subject: fix build issue of folder api X-Git-Tag: accepted/tizen/unified/20180718.154227~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F183302%2F1;p=platform%2Fcore%2Fapi%2Fmedia-content.git fix build issue of folder api Change-Id: I2e7244b866ef7951fb88ff317e94360375f0d959 --- diff --git a/include_product/media_content_product.h b/include_product/media_content_product.h index 5bd8dfc..246dd48 100755 --- a/include_product/media_content_product.h +++ b/include_product/media_content_product.h @@ -121,6 +121,19 @@ int media_folder_foreach_media_from_db_by_union_select(const char* folder_id, fi #endif int media_folder_get_scan_status(const char *storage_uuid, char* path, media_folder_scan_status_e *scan_status); +/** + * @brief insert media folder into database by folder path + * @since_tizen 4.0 + * + * @param[in] folder path + * + * @return @c 0 on success, + * otherwise a negative error value + * + * @retval #MEDIA_CONTENT_ERROR_NONE Successful + * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter + */ +int media_folder_insert_to_db(const char *path); /********** media_group **********/ diff --git a/include_product/media_folder.h b/include_product/media_folder.h index 216412a..8622309 100755 --- a/include_product/media_folder.h +++ b/include_product/media_folder.h @@ -447,23 +447,6 @@ int media_folder_set_order(media_folder_h folder, int order) TIZEN_DEPRECATED_AP */ int media_folder_update_to_db(media_folder_h folder) TIZEN_DEPRECATED_API; -#ifdef _USE_TVPD_MODE -/** - * @brief insert media folder into database by folder path - * @since_tizen 4.0 - * - * @param[in] folder path - * - * @return @c 0 on success, - * otherwise a negative error value - * - * @retval #MEDIA_CONTENT_ERROR_NONE Successful - * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter - */ -int media_folder_insert_to_db(const char *path); -#endif - - /** * @} */