diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
commit | 4046be06720932a57a0f49416b0144b2858824d0 (patch) | |
tree | 678c37cab05960f48923a23bb46d9e01be89d35a /comparison.h | |
parent | 1.19 (diff) | |
download | FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.gz FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.bz2 FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.zip |
2.0
Diffstat (limited to 'comparison.h')
-rw-r--r-- | comparison.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/comparison.h b/comparison.h index 2ec212ab..eaa4e2c8 100644 --- a/comparison.h +++ b/comparison.h @@ -2,11 +2,11 @@ #define COMPARISON_H_INCLUDED #include "structures.h" +#include "library/processXml.h" class StatusHandler; class DirectoryDescrBuffer; - namespace FreeFileSync { class FilterProcess; @@ -18,7 +18,7 @@ namespace FreeFileSync CompareProcess(const bool traverseSymLinks, const unsigned fileTimeTol, const bool ignoreOneHourDiff, - bool& warningDependentFolders, + xmlAccess::WarningMessages& warnings, const FilterProcess* filter, //may be NULL StatusHandler* handler); @@ -37,13 +37,19 @@ namespace FreeFileSync //create comparison result table and fill relation except for files existing on both sides void performBaseComparison(const FolderPair& pair, FileComparison& output); + + void issueWarningInvalidDate(const Zstring& fileNameFull, const wxLongLong& utcTime); + void issueWarningSameDateDiffSize(const FileCompareLine& cmpLine); + void issueWarningChangeWithinHour(const FileCompareLine& cmpLine); + + //buffer accesses to the same directories; useful when multiple folder pairs are used DirectoryDescrBuffer* descriptionBuffer; const unsigned int fileTimeTolerance; //max allowed file time deviation const bool ignoreOneHourDifference; - bool& m_warningDependentFolders; + xmlAccess::WarningMessages& m_warnings; StatusHandler* statusUpdater; const Zstring txtComparingContentOfFiles; |