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