23 lines
317 B
C++
23 lines
317 B
C++
// 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();
|
|
}
|
|
}
|
|
|
|
|