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

Revert "IMedia: Introduce a dummy isAvailable method"

This reverts commit d21a8761.
parent 76f7ab6c
......@@ -66,7 +66,6 @@ class IMedia
// This is likely to be used for album arts as well.
virtual const std::string& snapshot() = 0;
virtual unsigned int insertionDate() const = 0;
virtual bool isAvailable() const = 0;
};
#endif // IFILE_H
......@@ -232,11 +232,6 @@ unsigned int Media::insertionDate() const
return m_insertionDate;
}
bool Media::isAvailable() const
{
return true;
}
void Media::setSnapshot( const std::string& snapshot )
{
if ( m_snapshot == snapshot )
......
......@@ -93,7 +93,6 @@ class Media : public IMedia, public DatabaseHelpers<Media, policy::MediaTable>
virtual std::vector<AudioTrackPtr> audioTracks() override;
virtual const std::string& snapshot() override;
virtual unsigned int insertionDate() const override;
virtual bool isAvailable() const override;
void setSnapshot( const std::string& snapshot );
bool save();
......
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