physfs/lzma/CPP/7zip/UI/Common/TempFiles.cpp

23 lines
317 B
C++
Raw Normal View History

2008-01-23 04:52:35 +01:00
// TempFiles.cpp
#include "StdAfx.h"
#include "TempFiles.h"
#include "Windows/FileDir.h"
#include "Windows/FileIO.h"
using namespace NWindows;
using namespace NFile;
void CTempFiles::Clear()
{
while(!Paths.IsEmpty())
{
NDirectory::DeleteFileAlways((LPCWSTR)Paths.Back());
Paths.DeleteBack();
}
}