summaryrefslogtreecommitdiff
path: root/zen/file_traverser.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:48 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:48 +0200
commitee1c8c5c25d25dfa42120125a8a45dc9831ee412 (patch)
tree67aa287157db954e0cadeee05b4aad331eb2ecf2 /zen/file_traverser.h
parent5.13 (diff)
downloadFreeFileSync-ee1c8c5c25d25dfa42120125a8a45dc9831ee412.tar.gz
FreeFileSync-ee1c8c5c25d25dfa42120125a8a45dc9831ee412.tar.bz2
FreeFileSync-ee1c8c5c25d25dfa42120125a8a45dc9831ee412.zip
5.14
Diffstat (limited to 'zen/file_traverser.h')
-rw-r--r--zen/file_traverser.h5
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
}
bgstack15