branch | ui-scaling |
changeset 15283 | c4fd2813b127 |
parent 13390 | 0135e64c6c66 |
parent 15279 | 7ab5cf405686 |
child 15663 | d92eeb468dad |
13390:0135e64c6c66 | 15283:c4fd2813b127 |
---|---|
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 |