Initial add of PowerRename from SmartRename repo (#499)

* Initial add of PowerRename from SmartRename repo
This commit is contained in:
Chris Davis
2019-10-17 20:57:19 -07:00
committed by GitHub
parent 04b9422ea6
commit e1d5dd263a
63 changed files with 6055 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include <filesystem>
#include <string>
#include <windows.h>
class CTestFileHelper
{
public:
CTestFileHelper();
~CTestFileHelper();
bool AddFile(_In_ const std::wstring path);
bool AddFolder(_In_ const std::wstring path);
const std::filesystem::path GetTempDirectory() { return _tempDirectory; }
bool PathExists(_In_ const std::wstring path);
std::filesystem::path GetFullPath(_In_ const std::wstring path);
private:
bool _CreateTempDirectory();
void _DeleteTempDirectory();
std::filesystem::path _tempDirectory;
};