IF(TIZEN_PRODUCT_TV)
ADD_DEFINITIONS("-D_USE_TVPD_MODE")
ENDIF(TIZEN_PRODUCT_TV)
+IF(TIZEN_FEATURE_COMPATIBILITY)
+ ADD_DEFINITIONS("-DTIZEN_FEATURE_COMPATIBILITY")
+ENDIF(TIZEN_FEATURE_COMPATIBILITY)
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")
ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution)
ADD_CUSTOM_COMMAND(
- DEPENDS clean
+ DEPENDS clean
COMMENT "distribution clean"
COMMAND find
- ARGS .
+ ARGS .
-not -name config.cmake -and \(
-name tester.c -or
-name Testing -or
)
ENDIF(UNIX)
+
%else
-DTIZEN_PRODUCT_TV=NO \
%endif
+ -DTIZEN_FEATURE_COMPATIBILITY=YES
%__make %{?jobs:-j%jobs}
return MEDIA_CONTENT_ERROR_NONE;
}
+
+#ifdef TIZEN_FEATURE_COMPATIBILITY
+int audio_meta_get_played_time(audio_meta_h audio, time_t* played_time)
+{
+ content_warn("DEPRECATION WARNING: audio_meta_get_played_time() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int audio_meta_get_played_count(audio_meta_h audio, int *played_count)
+{
+ content_warn("DEPRECATION WARNING: audio_meta_get_played_count() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int audio_meta_set_played_count(audio_meta_h audio, int played_count)
+{
+ content_warn("DEPRECATION WARNING: audio_meta_set_played_count() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int audio_meta_set_played_time(audio_meta_h audio, time_t played_time)
+{
+ content_warn("DEPRECATION WARNING: audio_meta_set_played_time() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int audio_meta_update_to_db(audio_meta_h audio)
+{
+ content_warn("DEPRECATION WARNING: audio_meta_update_to_db() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+#endif
return _content_error_capi(ret);
}
+#ifdef TIZEN_FEATURE_COMPATIBILITY
+int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data)
+{
+ content_warn("DEPRECATION WARNING: media_content_set_db_updated_cb() is removed from 5.0.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+#endif
+
int media_content_remove_db_updated_cb(media_content_noti_h noti_handle)
{
int ret = MEDIA_CONTENT_ERROR_NONE;
return MEDIA_CONTENT_ERROR_NONE;
}
+
+#ifdef TIZEN_FEATURE_COMPATIBILITY
+int media_info_set_added_time(media_info_h media, time_t added_time)
+{
+ content_warn("DEPRECATION WARNING: media_info_set_added_time() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int media_info_delete_batch_from_db(filter_h filter)
+{
+ content_warn("DEPRECATION WARNING: media_info_delete_batch_from_db() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int media_info_create(const char *path, media_info_h *media)
+{
+ content_warn("DEPRECATION WARNING: media_info_create() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int media_info_refresh_metadata_to_db(const char *media_id)
+{
+ content_warn("DEPRECATION WARNING: media_info_refresh_metadata_to_db() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+
+int media_info_set_display_name(media_info_h media, const char *display_name)
+{
+ content_warn("DEPRECATION WARNING: media_info_set_display_name() is removed from 5.5.");
+
+ return MEDIA_CONTENT_ERROR_NONE;
+}
+#endif