changeset 13904 | 99b265e0d1d0 |
parent 13903 | 5f819b90d479 |
child 13905 | b172a5d40eee |
13903:5f819b90d479 | 13904:99b265e0d1d0 |
---|---|
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 |