[Android] medialib: Add dummy bookmark callbacks implementations

Hugo Beauzée-Luyssen git at videolan.org
Fri Mar 13 08:07:08 CET 2020


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Mar 12 18:28:14 2020 +0100| [23dbd9b06b923f2c68ef6d3154b796559f72f60e] | committer: Hugo Beauzée-Luyssen

medialib: Add dummy bookmark callbacks implementations

In order to fix the build

> https://code.videolan.org/videolan/vlc-android/commit/23dbd9b06b923f2c68ef6d3154b796559f72f60e
---

 medialibrary/jni/AndroidMediaLibrary.cpp | 12 ++++++++++++
 medialibrary/jni/AndroidMediaLibrary.h   |  3 +++
 2 files changed, 15 insertions(+)

diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index 4765298ba..4c28d7a2f 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -933,6 +933,18 @@ void AndroidMediaLibrary::onMediaGroupsDeleted( std::set<int64_t> mediaGroupsIds
     }
 }
 
+void AndroidMediaLibrary::onBookmarksAdded( std::vector<medialibrary::BookmarkPtr> )
+{
+}
+
+void AndroidMediaLibrary::onBookmarksModified( std::set<int64_t> )
+{
+}
+
+void AndroidMediaLibrary::onBookmarksDeleted( std::set<int64_t> )
+{
+}
+
 void AndroidMediaLibrary::onRescanStarted()
 {
 }
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index dc35d9b7c..b1302837c 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -108,6 +108,9 @@ public:
     medialibrary::MediaGroupPtr videoGroup(const int64_t groupId );
     void onMediaGroupsModified( std::set<int64_t> mediaGroupsIds );
     void onMediaGroupsDeleted( std::set<int64_t> mediaGroupsIds );
+    void onBookmarksAdded( std::vector<medialibrary::BookmarkPtr> );
+    void onBookmarksModified( std::set<int64_t> );
+    void onBookmarksDeleted( std::set<int64_t> );
     //Playlists
     bool playlistAppend(int64_t playlistId, int64_t mediaId);
     bool playlistAdd(int64_t playlistId, int64_t mediaId, unsigned int position);



More information about the Android mailing list