diff options
Diffstat (limited to 'FreeFileSync/Source/base/algorithm.h')
-rw-r--r-- | FreeFileSync/Source/base/algorithm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FreeFileSync/Source/base/algorithm.h b/FreeFileSync/Source/base/algorithm.h index 7b2f8a84..75b7e7a6 100644 --- a/FreeFileSync/Source/base/algorithm.h +++ b/FreeFileSync/Source/base/algorithm.h @@ -90,15 +90,20 @@ public: TempFileBuffer() {} ~TempFileBuffer(); + Zstring getAndCreateFolderPath(); //throw FileError + Zstring getTempPath(const FileDescriptor& descr) const; //returns empty if not in buffer (item not existing, error during copy) //contract: only add files not yet in the buffer! void createTempFiles(const std::set<FileDescriptor>& workLoad, ProcessCallback& callback); + private: TempFileBuffer (const TempFileBuffer&) = delete; TempFileBuffer& operator=(const TempFileBuffer&) = delete; +void createTempFolderPath(); //throw FileError + std::map<FileDescriptor, Zstring> tempFilePaths_; Zstring tempFolderPath_; }; |