xref: /third_party/lzma/CPP/7zip/UI/Common/TempFiles.cpp
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/lzma/CPP/7zip/UI/Common/
1370b324cSopenharmony_ci// TempFiles.cpp
2370b324cSopenharmony_ci
3370b324cSopenharmony_ci#include "StdAfx.h"
4370b324cSopenharmony_ci
5370b324cSopenharmony_ci#include "../../../Windows/FileDir.h"
6370b324cSopenharmony_ci
7370b324cSopenharmony_ci#include "TempFiles.h"
8370b324cSopenharmony_ci
9370b324cSopenharmony_ciusing namespace NWindows;
10370b324cSopenharmony_ciusing namespace NFile;
11370b324cSopenharmony_ci
12370b324cSopenharmony_civoid CTempFiles::Clear()
13370b324cSopenharmony_ci{
14370b324cSopenharmony_ci  while (!Paths.IsEmpty())
15370b324cSopenharmony_ci  {
16370b324cSopenharmony_ci    NDir::DeleteFileAlways(Paths.Back());
17370b324cSopenharmony_ci    Paths.DeleteBack();
18370b324cSopenharmony_ci  }
19370b324cSopenharmony_ci}
20

Indexes created Thu Nov 07 10:32:03 CST 2024