Commit 46b43ad6 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

IMediaLibrary: Don't expose a removeFolder method

parent 82bea854
......@@ -100,7 +100,6 @@ class IMediaLibrary
/// Adds a folder and all the files it contains
virtual FolderPtr folder( const std::string& path ) = 0;
virtual bool deleteFolder( FolderPtr folder ) = 0;
virtual LabelPtr createLabel( const std::string& label ) = 0;
virtual bool deleteLabel( LabelPtr label ) = 0;
......
......@@ -56,7 +56,7 @@ class MediaLibrary : public IMediaLibrary
virtual bool deleteFile(const Media* file );
virtual FolderPtr folder( const std::string& path ) override;
virtual bool deleteFolder( FolderPtr folder ) override;
bool deleteFolder( FolderPtr folder );
virtual LabelPtr createLabel( const std::string& label ) override;
virtual bool deleteLabel( LabelPtr label ) 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