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