1// TempFiles.cpp 2 3#include "StdAfx.h" 4 5#include "../../../Windows/FileDir.h" 6 7#include "TempFiles.h" 8 9using namespace NWindows; 10using namespace NFile; 11 12void CTempFiles::Clear() 13{ 14 while (!Paths.IsEmpty()) 15 { 16 NDir::DeleteFileAlways(Paths.Back()); 17 Paths.DeleteBack(); 18 } 19} 20 21 22