[vlc-commits] medialibrary: Bump version & reflect API changes
Hugo Beauzée-Luyssen
git at videolan.org
Fri Aug 24 18:48:46 CEST 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug 24 18:41:12 2018 +0200| [1758c4d52a6832e1c821221482077f806be7713c] | committer: Hugo Beauzée-Luyssen
medialibrary: Bump version & reflect API changes
This effectively reverts commit 8514106fffdeb1c8760ba3984e6d9c78c96d4e85.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1758c4d52a6832e1c821221482077f806be7713c
---
contrib/src/medialibrary/rules.mak | 2 +-
modules/misc/medialibrary/medialib.cpp | 30 +++++++++++++++---------------
modules/misc/medialibrary/medialibrary.h | 30 +++++++++++++++---------------
3 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/contrib/src/medialibrary/rules.mak b/contrib/src/medialibrary/rules.mak
index b6a0cbc69b..78f343c0ae 100644
--- a/contrib/src/medialibrary/rules.mak
+++ b/contrib/src/medialibrary/rules.mak
@@ -1,4 +1,4 @@
-MEDIALIBRARY_HASH := bc1399bf5c3d131596c3e54f6b88e2d983d1e2d8
+MEDIALIBRARY_HASH := 82ffd7ac6c0f42da021b6a645052f422e787a19b
MEDIALIBRARY_VERSION := git-$(MEDIALIBRARY_HASH)
MEDIALIBRARY_GITURL := https://code.videolan.org/videolan/medialibrary.git
diff --git a/modules/misc/medialibrary/medialib.cpp b/modules/misc/medialibrary/medialib.cpp
index f42c1f6948..86652a32ec 100644
--- a/modules/misc/medialibrary/medialib.cpp
+++ b/modules/misc/medialibrary/medialib.cpp
@@ -108,77 +108,77 @@ void wrapEntityDeletedEventCallback( vlc_medialibrary_module_t* ml,
} // end of anonymous namespace
-void MediaLibrary::onMediaAdded( const std::vector<medialibrary::MediaPtr>& media )
+void MediaLibrary::onMediaAdded( std::vector<medialibrary::MediaPtr> media )
{
wrapEntityEventCallback<vlc_ml_media_t>( m_vlc_ml, media, VLC_ML_EVENT_MEDIA_ADDED );
}
-void MediaLibrary::onMediaModified( const std::vector<medialibrary::MediaPtr>& media )
+void MediaLibrary::onMediaModified( std::vector<medialibrary::MediaPtr> media )
{
wrapEntityEventCallback<vlc_ml_media_t>( m_vlc_ml, media, VLC_ML_EVENT_MEDIA_UPDATED );
}
-void MediaLibrary::onMediaDeleted( const std::vector<int64_t>& mediaIds )
+void MediaLibrary::onMediaDeleted( std::vector<int64_t> mediaIds )
{
wrapEntityDeletedEventCallback( m_vlc_ml, mediaIds, VLC_ML_EVENT_MEDIA_DELETED );
}
-void MediaLibrary::onArtistsAdded( const std::vector<medialibrary::ArtistPtr>& artists )
+void MediaLibrary::onArtistsAdded( std::vector<medialibrary::ArtistPtr> artists )
{
wrapEntityEventCallback<vlc_ml_artist_t>( m_vlc_ml, artists, VLC_ML_EVENT_ARTIST_ADDED );
}
-void MediaLibrary::onArtistsModified( const std::vector<medialibrary::ArtistPtr>& artists )
+void MediaLibrary::onArtistsModified( std::vector<medialibrary::ArtistPtr> artists )
{
wrapEntityEventCallback<vlc_ml_artist_t>( m_vlc_ml, artists, VLC_ML_EVENT_ARTIST_UPDATED );
}
-void MediaLibrary::onArtistsDeleted( const std::vector<int64_t>& artistIds )
+void MediaLibrary::onArtistsDeleted( std::vector<int64_t> artistIds )
{
wrapEntityDeletedEventCallback( m_vlc_ml, artistIds, VLC_ML_EVENT_ARTIST_DELETED );
}
-void MediaLibrary::onAlbumsAdded( const std::vector<medialibrary::AlbumPtr>& albums )
+void MediaLibrary::onAlbumsAdded( std::vector<medialibrary::AlbumPtr> albums )
{
wrapEntityEventCallback<vlc_ml_album_t>( m_vlc_ml, albums, VLC_ML_EVENT_ALBUM_ADDED );
}
-void MediaLibrary::onAlbumsModified( const std::vector<medialibrary::AlbumPtr>& albums )
+void MediaLibrary::onAlbumsModified( std::vector<medialibrary::AlbumPtr> albums )
{
wrapEntityEventCallback<vlc_ml_album_t>( m_vlc_ml, albums, VLC_ML_EVENT_ALBUM_UPDATED );
}
-void MediaLibrary::onAlbumsDeleted( const std::vector<int64_t>& albumIds )
+void MediaLibrary::onAlbumsDeleted( std::vector<int64_t> albumIds )
{
wrapEntityDeletedEventCallback( m_vlc_ml, albumIds, VLC_ML_EVENT_ALBUM_DELETED );
}
-void MediaLibrary::onPlaylistsAdded( const std::vector<medialibrary::PlaylistPtr>& playlists )
+void MediaLibrary::onPlaylistsAdded( std::vector<medialibrary::PlaylistPtr> playlists )
{
wrapEntityEventCallback<vlc_ml_playlist_t>( m_vlc_ml, playlists, VLC_ML_EVENT_PLAYLIST_ADDED );
}
-void MediaLibrary::onPlaylistsModified( const std::vector<medialibrary::PlaylistPtr>& playlists )
+void MediaLibrary::onPlaylistsModified( std::vector<medialibrary::PlaylistPtr> playlists )
{
wrapEntityEventCallback<vlc_ml_playlist_t>( m_vlc_ml, playlists, VLC_ML_EVENT_PLAYLIST_UPDATED );
}
-void MediaLibrary::onPlaylistsDeleted( const std::vector<int64_t>& playlistIds )
+void MediaLibrary::onPlaylistsDeleted( std::vector<int64_t> playlistIds )
{
wrapEntityDeletedEventCallback( m_vlc_ml, playlistIds, VLC_ML_EVENT_PLAYLIST_DELETED );
}
-void MediaLibrary::onGenresAdded( const std::vector<medialibrary::GenrePtr>& genres )
+void MediaLibrary::onGenresAdded( std::vector<medialibrary::GenrePtr> genres )
{
wrapEntityEventCallback<vlc_ml_genre_t>( m_vlc_ml, genres, VLC_ML_EVENT_GENRE_ADDED );
}
-void MediaLibrary::onGenresModified( const std::vector<medialibrary::GenrePtr>& genres )
+void MediaLibrary::onGenresModified( std::vector<medialibrary::GenrePtr> genres )
{
wrapEntityEventCallback<vlc_ml_genre_t>( m_vlc_ml, genres, VLC_ML_EVENT_GENRE_UPDATED );
}
-void MediaLibrary::onGenresDeleted( const std::vector<int64_t>& genreIds )
+void MediaLibrary::onGenresDeleted( std::vector<int64_t> genreIds )
{
wrapEntityDeletedEventCallback( m_vlc_ml, genreIds, VLC_ML_EVENT_GENRE_DELETED );
}
diff --git a/modules/misc/medialibrary/medialibrary.h b/modules/misc/medialibrary/medialibrary.h
index f32cc6bcff..133ca0f30c 100644
--- a/modules/misc/medialibrary/medialibrary.h
+++ b/modules/misc/medialibrary/medialibrary.h
@@ -125,21 +125,21 @@ private:
// IMediaLibraryCb interface
public:
- virtual void onMediaAdded( const std::vector<medialibrary::MediaPtr>& media) override;
- virtual void onMediaModified( const std::vector<medialibrary::MediaPtr>& media) override;
- virtual void onMediaDeleted( const std::vector<int64_t>& mediaIds) override;
- virtual void onArtistsAdded( const std::vector<medialibrary::ArtistPtr>& artists) override;
- virtual void onArtistsModified( const std::vector<medialibrary::ArtistPtr>& artists) override;
- virtual void onArtistsDeleted( const std::vector<int64_t>& artistsIds) override;
- virtual void onAlbumsAdded( const std::vector<medialibrary::AlbumPtr>& albums) override;
- virtual void onAlbumsModified( const std::vector<medialibrary::AlbumPtr>& albums) override;
- virtual void onAlbumsDeleted( const std::vector<int64_t>& albumsIds) override;
- virtual void onPlaylistsAdded( const std::vector<medialibrary::PlaylistPtr>& playlists) override;
- virtual void onPlaylistsModified( const std::vector<medialibrary::PlaylistPtr>& playlists) override;
- virtual void onPlaylistsDeleted( const std::vector<int64_t>& playlistIds) override;
- virtual void onGenresAdded( const std::vector<medialibrary::GenrePtr>& genres) override;
- virtual void onGenresModified( const std::vector<medialibrary::GenrePtr>& genres) override;
- virtual void onGenresDeleted( const std::vector<int64_t>& genreIds) override;
+ virtual void onMediaAdded(std::vector<medialibrary::MediaPtr> media) override;
+ virtual void onMediaModified(std::vector<medialibrary::MediaPtr> media) override;
+ virtual void onMediaDeleted(std::vector<int64_t> mediaIds) override;
+ virtual void onArtistsAdded(std::vector<medialibrary::ArtistPtr> artists) override;
+ virtual void onArtistsModified(std::vector<medialibrary::ArtistPtr> artists) override;
+ virtual void onArtistsDeleted(std::vector<int64_t> artistsIds) override;
+ virtual void onAlbumsAdded(std::vector<medialibrary::AlbumPtr> albums) override;
+ virtual void onAlbumsModified(std::vector<medialibrary::AlbumPtr> albums) override;
+ virtual void onAlbumsDeleted(std::vector<int64_t> albumsIds) override;
+ virtual void onPlaylistsAdded(std::vector<medialibrary::PlaylistPtr> playlists) override;
+ virtual void onPlaylistsModified(std::vector<medialibrary::PlaylistPtr> playlists) override;
+ virtual void onPlaylistsDeleted(std::vector<int64_t> playlistIds) override;
+ virtual void onGenresAdded(std::vector<medialibrary::GenrePtr> genres) override;
+ virtual void onGenresModified(std::vector<medialibrary::GenrePtr> genres) override;
+ virtual void onGenresDeleted(std::vector<int64_t> genreIds) override;
virtual void onDiscoveryStarted(const std::string& entryPoint) override;
virtual void onDiscoveryProgress(const std::string& entryPoint) override;
virtual void onDiscoveryCompleted(const std::string& entryPoint, bool success) override;
More information about the vlc-commits
mailing list