Add ability to delete songs from disk at the song selection screen (Ctrl+Backspace)

This commit is contained in:
Colin Wallace
2015-03-27 05:22:55 +00:00
parent bfc24455ae
commit 473974e52f
16 changed files with 130 additions and 8 deletions
+7
View File
@@ -464,6 +464,13 @@ bool RageFileManager::Remove( const RString &sPath_ )
return bDeleted;
}
bool RageFileManager::DeleteRecursive( const RString &sPath )
{
// On some OS's, non-empty directories cannot be deleted.
// This is a work-around that can delete both files and non-empty directories
return ::DeleteRecursive(sPath);
}
void RageFileManager::CreateDir( const RString &sDir )
{
RString sTempFile = sDir + "newdir.temp.newdir";