summaryrefslogtreecommitdiff
path: root/zen/file_traverser.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:53:20 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:53:20 +0200
commit94db751716dd2851f99b5c4c2981da1d1f4780f8 (patch)
treee4ffc9f5ae2b2873f267a6e5d3d2092c8aad49a7 /zen/file_traverser.h
parent6.10 (diff)
downloadFreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.tar.gz
FreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.tar.bz2
FreeFileSync-94db751716dd2851f99b5c4c2981da1d1f4780f8.zip
6.11
Diffstat (limited to 'zen/file_traverser.h')
-rw-r--r--zen/file_traverser.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/zen/file_traverser.h b/zen/file_traverser.h
index f240d8c7..c9efbdb1 100644
--- a/zen/file_traverser.h
+++ b/zen/file_traverser.h
@@ -58,23 +58,10 @@ struct TraverseCallback
virtual HandleError reportItemError(const std::wstring& msg, size_t retryNumber, const Zchar* shortName) = 0; //failed to get data for single file/dir/symlink only!
};
-
-#ifdef ZEN_WIN
-struct DstHackCallback
-{
- virtual ~DstHackCallback() {}
- virtual void requestUiRefresh(const Zstring& filepath) = 0; //applying DST hack imposes significant one-time performance drawback => callback to inform user
-};
-#elif defined ZEN_LINUX || defined ZEN_MAC
-struct DstHackCallback; //DST hack not required on Unix
-#endif
-
//custom traverser with detail information about files
//- client needs to handle duplicate file reports! (FilePlusTraverser fallback, retrying to read directory contents, ...)
//- directory may end with PATH_SEPARATOR
-void traverseFolder(const Zstring& dirpath, //throw()
- TraverseCallback& sink,
- DstHackCallback* dstCallback = nullptr); //apply DST hack if callback is supplied
+void traverseFolder(const Zstring& dirpath, TraverseCallback& sink); //noexcept
}
#endif // FILETRAVERSER_H_INCLUDED
bgstack15