• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
10 using namespace NWindows;
11 using namespace NFile;
12 
Clear()13 void CTempFiles::Clear()
14 {
15   while(!Paths.IsEmpty())
16   {
17     NDirectory::DeleteFileAlways((LPCWSTR)Paths.Back());
18     Paths.DeleteBack();
19   }
20 }
21 
22 
23