diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2016-08-08 09:32:17 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2016-08-08 13:18:59 +0900 |
commit | 5169444c3ebb63ac20da4e797fd6c074e2034fb3 (patch) | |
tree | 18d7fe43afc2d44064800f9290da1534550eb7d3 /include | |
parent | e971ce6831d76a6541993d2aaac9903c1ad1937f (diff) | |
download | media-content-5169444c3ebb63ac20da4e797fd6c074e2034fb3.tar.gz media-content-5169444c3ebb63ac20da4e797fd6c074e2034fb3.tar.bz2 media-content-5169444c3ebb63ac20da4e797fd6c074e2034fb3.zip |
Add description for deprecation
Change-Id: I96daabcc157ccb246e804b15bc365d307337a0ba
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/media_content.h | 4 | ||||
-rwxr-xr-x | include/media_info_private.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/media_content.h b/include/media_content.h index 6313fec..4cf4140 100755 --- a/include/media_content.h +++ b/include/media_content.h @@ -192,7 +192,7 @@ int media_content_cancel_scan_folder(const char *path); * @see media_content_db_update_cb() * @see media_content_unset_db_updated_cb() */ -int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data); +int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data) DEPRECATED_API; /** * @deprecated Deprecated since 3.0. Use media_content_remove_db_updated_cb() instead. @@ -211,7 +211,7 @@ int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *u * * @see media_content_set_db_updated_cb() */ -int media_content_unset_db_updated_cb(void); +int media_content_unset_db_updated_cb(void) DEPRECATED_API; /** * @brief Subscribes notifications of the media DB change. diff --git a/include/media_info_private.h b/include/media_info_private.h index 26e87dc..9204c93 100755 --- a/include/media_info_private.h +++ b/include/media_info_private.h @@ -794,6 +794,10 @@ int _media_filter_attribute_option_generate(attribute_h attr, filter_h filter, c } \ } while (0) +#define media_content_warn(fmt, arg...) do { \ + LOGW(FONT_COLOR_GREEN"[%d]"fmt"", media_content_gettid(), ##arg); \ + } while (0) + #define media_content_debug(fmt, arg...) do { \ LOGD(FONT_COLOR_RESET"[%d]"fmt"", media_content_gettid(), ##arg); \ } while (0) |