Commit 2ad6f3a3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

ImediaLibrary: Don't expose a "fetch all media" method

parent 898b760c
......@@ -101,7 +101,6 @@ class IMediaLibrary
virtual LabelPtr createLabel( const std::string& label ) = 0;
virtual bool deleteLabel( const std::string& label ) = 0;
virtual bool deleteLabel( LabelPtr label ) = 0;
virtual std::vector<MediaPtr> files() = 0;
virtual std::vector<MediaPtr> audioFiles() = 0;
virtual std::vector<MediaPtr> videoFiles() = 0;
virtual AlbumPtr album( const std::string& title ) = 0;
......
......@@ -47,7 +47,7 @@ class MediaLibrary : public IMediaLibrary
virtual void setVerbosity( LogLevel v ) override;
virtual void setFsFactory( std::shared_ptr<factory::IFileSystem> fsFactory ) override;
virtual std::vector<MediaPtr> files() override;
std::vector<MediaPtr> files();
virtual std::vector<MediaPtr> audioFiles() override;
virtual std::vector<MediaPtr> videoFiles() override;
virtual MediaPtr file( const std::string& path ) override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment