diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:55:14 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:55:14 +0200 |
commit | 222024f07e505617aec93dc4837be2be27d18856 (patch) | |
tree | c40f400baa6cf1d047205359f80c2b8f74a2b507 /comparison.h | |
parent | 1.12 (diff) | |
download | FreeFileSync-222024f07e505617aec93dc4837be2be27d18856.tar.gz FreeFileSync-222024f07e505617aec93dc4837be2be27d18856.tar.bz2 FreeFileSync-222024f07e505617aec93dc4837be2be27d18856.zip |
1.13
Diffstat (limited to 'comparison.h')
-rw-r--r-- | comparison.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/comparison.h b/comparison.h new file mode 100644 index 00000000..cc80ea29 --- /dev/null +++ b/comparison.h @@ -0,0 +1,32 @@ +#ifndef COMPARISON_H_INCLUDED +#define COMPARISON_H_INCLUDED + +#include "FreeFileSync.h" + + +namespace FreeFileSync +{ + bool foldersAreValidForComparison(const vector<FolderPair>& folderPairs, wxString& errorMessage); + bool foldersHaveDependencies(const vector<FolderPair>& folderPairs, wxString& warningMessage); + + //class handling comparison process + class CompareProcess + { + public: + CompareProcess(bool lineBreakOnMessages, StatusHandler* handler); + + void startCompareProcess(const vector<FolderPair>& directoryPairsFormatted, + const CompareVariant cmpVar, + FileCompareResult& output) throw(AbortThisProcess); + + private: + //create comparison result table and fill relation except for files existing on both sides + void performBaseComparison(const vector<FolderPair>& directoryPairsFormatted, + FileCompareResult& output); + + StatusHandler* statusUpdater; + wxString optionalLineBreak; //optional line break for status messages (used by GUI mode only) + }; +} + +#endif // COMPARISON_H_INCLUDED |