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

Add missing override's

parent 4d668353
......@@ -43,7 +43,7 @@ class Genre : public medialibrary::IGenre, public DatabaseHelpers<Genre, policy:
Genre( MediaLibraryPtr ml, sqlite::Row& row );
Genre( MediaLibraryPtr ml, const std::string& name );
virtual int64_t id() const;
virtual int64_t id() const override;
virtual const std::string& name() const override;
virtual std::vector<medialibrary::ArtistPtr> artists( medialibrary::SortingCriteria sort, bool desc ) const override;
virtual std::vector<medialibrary::MediaPtr> tracks(medialibrary::SortingCriteria sort, bool desc) const override;
......@@ -94,7 +94,7 @@ class MediaLibrary : public medialibrary::IMediaLibrary
virtual medialibrary::PlaylistPtr playlist( int64_t id ) const override;
virtual bool deletePlaylist( int64_t playlistId ) override;
virtual bool addToHistory( const std::string& mrl );
virtual bool addToHistory( const std::string& mrl ) override;
virtual std::vector<medialibrary::HistoryPtr> lastStreamsPlayed() const override;
virtual std::vector<medialibrary::MediaPtr> lastMediaPlayed() const override;
......@@ -54,7 +54,7 @@ class ShowEpisode : public medialibrary::IShowEpisode, public DatabaseHelpers<Sh
bool setArtworkMrl( const std::string& artworkMrl );
virtual unsigned int episodeNumber() const override;
virtual const std::string& name() const override;
unsigned int seasonNumber() const;
unsigned int seasonNumber() const override;
bool setSeasonNumber(unsigned int seasonNumber);
virtual const std::string& shortSummary() const override;
bool setShortSummary( const std::string& summary );
......@@ -37,7 +37,7 @@ public:
FsDiscoverer( std::shared_ptr<factory::IFileSystem> fsFactory, MediaLibrary* ml );
virtual bool discover(const std::string &entryPoint ) override;
virtual void reload() override;
virtual void reload( const std::string& entryPoint );
virtual void reload( const std::string& entryPoint ) override;
......@@ -61,7 +61,7 @@ private:
parser::Task::Status takeThumbnail( std::shared_ptr<Media> media, std::shared_ptr<File> file, VLC::MediaPlayer &mp );
parser::Task::Status compress( std::shared_ptr<Media> media, std::shared_ptr<File> file );
virtual const char* name() const;
virtual const char* name() const override;
virtual uint8_t nbThreads() const 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