misc/libphysfs/lzma/CPP/7zip/UI/Common/TempFiles.cpp
changeset 12213 bb5522e88ab2
equal deleted inserted replaced
12212:ea891871f481 12213:bb5522e88ab2
       
     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 
       
    13 void CTempFiles::Clear()
       
    14 {
       
    15   while(!Paths.IsEmpty())
       
    16   {
       
    17     NDirectory::DeleteFileAlways((LPCWSTR)Paths.Back());
       
    18     Paths.DeleteBack();
       
    19   }
       
    20 }
       
    21 
       
    22