[Android] Empty implementation of playlist related callbacks

Geoffrey Métais git at videolan.org
Wed Nov 16 15:54:22 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 16 15:32:11 2016 +0100| [c86ba8f493e617568df1ac4ad7e74e84af3b78e2] | committer: Geoffrey Métais

Empty implementation of playlist related callbacks

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

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

diff --git a/medialibrary/jni/AndroidMediaLibrary.cpp b/medialibrary/jni/AndroidMediaLibrary.cpp
index cd6165b..edbf689 100644
--- a/medialibrary/jni/AndroidMediaLibrary.cpp
+++ b/medialibrary/jni/AndroidMediaLibrary.cpp
@@ -482,6 +482,21 @@ void AndroidMediaLibrary::onAlbumsModified( std::vector<medialibrary::AlbumPtr>
     }
 }
 
+void AndroidMediaLibrary::onPlaylistsAdded( std::vector<medialibrary::PlaylistPtr> playlists )
+{
+
+}
+
+void AndroidMediaLibrary::onPlaylistsModified( std::vector<medialibrary::PlaylistPtr> playlist )
+{
+
+}
+
+void AndroidMediaLibrary::onPlaylistsDeleted( std::vector<int64_t> ids )
+{
+
+}
+
 void AndroidMediaLibrary::onAlbumsDeleted( std::vector<int64_t> ids )
 {
 
diff --git a/medialibrary/jni/AndroidMediaLibrary.h b/medialibrary/jni/AndroidMediaLibrary.h
index 19ee7d2..d91224f 100644
--- a/medialibrary/jni/AndroidMediaLibrary.h
+++ b/medialibrary/jni/AndroidMediaLibrary.h
@@ -81,8 +81,14 @@ public:
     void onAlbumsAdded( std::vector<medialibrary::AlbumPtr> albums );
     void onAlbumsModified( std::vector<medialibrary::AlbumPtr> albums );
     void onAlbumsDeleted( std::vector<int64_t> ids );
+
     void onTracksAdded( std::vector<medialibrary::AlbumTrackPtr> tracks );
     void onTracksDeleted( std::vector<int64_t> trackIds );
+
+    void onPlaylistsAdded( std::vector<medialibrary::PlaylistPtr> playlists );
+    void onPlaylistsModified( std::vector<medialibrary::PlaylistPtr> playlist );
+    void onPlaylistsDeleted( std::vector<int64_t> ids );
+
     void onDiscoveryStarted( const std::string& entryPoint );
     void onDiscoveryProgress( const std::string& entryPoint );
     void onDiscoveryCompleted( const std::string& entryPoint );



More information about the Android mailing list