diff options
-rwxr-xr-x | include_product/media_content_product.h | 13 | ||||
-rwxr-xr-x | include_product/media_folder.h | 17 |
2 files changed, 13 insertions, 17 deletions
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 eefd3a5..d4d9638 100755 --- a/include_product/media_folder.h +++ b/include_product/media_folder.h @@ -445,23 +445,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 - - /** * @} */ |