From 285ea912a1f56dbd445dbf6629ffdb63a8a3e594 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Thu, 22 Mar 2018 10:18:03 +0900 Subject: [PATCH] Add plugin function for scanner v2 Change-Id: I1045befd148858eef5f71c1989d033433038d0a3 Signed-off-by: Minje Ahn --- plugin/media-content-plugin.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plugin/media-content-plugin.c b/plugin/media-content-plugin.c index dd6ee95..ed403ee 100755 --- a/plugin/media-content-plugin.c +++ b/plugin/media-content-plugin.c @@ -777,6 +777,18 @@ int query_do_update_list(void* handle, char** err_msg) return MEDIA_SVC_PLUGIN_ERROR_NONE; } +int delete_all_invalid_items_in_folder(void **handle, const char* storage_id, const char*path, bool is_recursive, uid_t uid) +{ + /* For scanner V2 */ + return MEDIA_SVC_PLUGIN_ERROR_NONE; +} + +int delete_invalid_folder_by_path(void **handle, const char *storage_id, const char *folder_path, uid_t uid) +{ + /* For scanner V2 */ + return MEDIA_SVC_PLUGIN_ERROR_NONE; +} + int insert_folder_begin(void * handle, int item_cnt, char **err_msg) { int ret = MEDIA_SVC_PLUGIN_ERROR_NONE; -- 2.7.4