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

File: Expose isRemovable

parent ddd83ef8
......@@ -159,6 +159,11 @@ bool File::updateFsInfo( uint32_t newLastModificationDate, uint32_t newSize )
return res;
}
bool File::isRemovable() const
{
return m_isRemovable;
}
std::shared_ptr<Media> File::media() const
{
if ( m_mediaId == 0 )
......
......@@ -61,6 +61,7 @@ public:
virtual unsigned int size() const override;
virtual bool isExternal() const override;
bool updateFsInfo( uint32_t newLastModificationDate, uint32_t newSize );
bool isRemovable() const;
std::shared_ptr<Media> media() const;
bool destroy();
......
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