20 lines
282 B
C++
20 lines
282 B
C++
// TempFiles.cpp
|
|
|
|
#include "StdAfx.h"
|
|
|
|
#include "../../../Windows/FileDir.h"
|
|
|
|
#include "TempFiles.h"
|
|
|
|
using namespace NWindows;
|
|
using namespace NFile;
|
|
|
|
void CTempFiles::Clear()
|
|
{
|
|
while (!Paths.IsEmpty())
|
|
{
|
|
NDir::DeleteFileAlways(Paths.Back());
|
|
Paths.DeleteBack();
|
|
}
|
|
}
|