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

parser: Item: Remove now unused setters

parent a4eb2191
......@@ -235,41 +235,21 @@ std::shared_ptr<Folder> Task::Item::parentFolder()
return m_parentFolder;
}
void Task::Item::setParentFolder( std::shared_ptr<Folder> parentFolder )
{
m_parentFolder = std::move( parentFolder );
}
std::shared_ptr<fs::IFile> Task::Item::fileFs()
{
return m_fileFs;
}
void Task::Item::setFileFs( std::shared_ptr<fs::IFile> fileFs )
{
m_fileFs = std::move( fileFs );
}
std::shared_ptr<fs::IDirectory> Task::Item::parentFolderFs()
{
return m_parentFolderFs;
}
void Task::Item::setParentFolderFs( std::shared_ptr<fs::IDirectory> parentDirectoryFs )
{
m_parentFolderFs = std::move( parentDirectoryFs );
}
std::shared_ptr<Playlist> Task::Item::parentPlaylist()
{
return m_parentPlaylist;
}
void Task::Item::setParentPlaylist( std::shared_ptr<Playlist> parentPlaylist )
{
m_parentPlaylist = std::move( parentPlaylist );
}
unsigned int Task::Item::parentPlaylistIndex() const
{
return m_parentPlaylistIndex;
......
......@@ -176,16 +176,12 @@ public:
void setFile( std::shared_ptr<File> file );
std::shared_ptr<Folder> parentFolder();
void setParentFolder(std::shared_ptr<Folder> parentFolder );
std::shared_ptr<fs::IFile> fileFs();
void setFileFs( std::shared_ptr<fs::IFile> fileFs );
std::shared_ptr<fs::IDirectory> parentFolderFs();
void setParentFolderFs( std::shared_ptr<fs::IDirectory> parentFolderFs );
std::shared_ptr<Playlist> parentPlaylist();
void setParentPlaylist( std::shared_ptr<Playlist> parentPlaylist );
unsigned int parentPlaylistIndex() const;
......
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