diff options
Diffstat (limited to 'zen/file_traverser.h')
-rw-r--r-- | zen/file_traverser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zen/file_traverser.h b/zen/file_traverser.h index 7e566075..97fb0e9f 100644 --- a/zen/file_traverser.h +++ b/zen/file_traverser.h @@ -62,12 +62,13 @@ struct DstHackCallback virtual void requestUiRefresh(const Zstring& filename) = 0; //applying DST hack imposes significant one-time performance drawback => callback to inform user }; #elif defined FFS_LINUX || defined FFS_MAC -struct DstHackCallback; //DST hack not required on Linux +struct DstHackCallback; //DST hack not required on Unix #endif //custom traverser with detail information about files +//Win: client needs to handle duplicate file notifications! (FilePlusTraverser fallback) //directory may end with PATH_SEPARATOR -void traverseFolder(const Zstring& directory, //throw(); +void traverseFolder(const Zstring& directory, //throw() TraverseCallback& sink, DstHackCallback* dstCallback = nullptr); //apply DST hack if callback is supplied } |