summaryrefslogtreecommitdiff
path: root/comparison.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:57:45 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:57:45 +0200
commit2a3ebac62eb6dd88122c0f447ea90ce368373d3a (patch)
treefae5c18deaecfb6f39d4d66dd3de8ce730b2025b /comparison.h
parent1.17 (diff)
downloadFreeFileSync-2a3ebac62eb6dd88122c0f447ea90ce368373d3a.tar.gz
FreeFileSync-2a3ebac62eb6dd88122c0f447ea90ce368373d3a.tar.bz2
FreeFileSync-2a3ebac62eb6dd88122c0f447ea90ce368373d3a.zip
1.18
Diffstat (limited to 'comparison.h')
-rw-r--r--comparison.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/comparison.h b/comparison.h
index 204ff7ec..0f4681e5 100644
--- a/comparison.h
+++ b/comparison.h
@@ -1,13 +1,14 @@
#ifndef COMPARISON_H_INCLUDED
#define COMPARISON_H_INCLUDED
-#include "FreeFileSync.h"
-#include "library/statusHandler.h"
+#include "structures.h"
+
+class StatusHandler;
+class DirectoryDescrBuffer;
+
namespace FreeFileSync
{
- class DirectoryDescrBuffer;
-
//class handling comparison process
class CompareProcess
{
@@ -21,15 +22,15 @@ namespace FreeFileSync
void startCompareProcess(const std::vector<FolderPair>& directoryPairs,
const CompareVariant cmpVar,
- FileCompareResult& output) throw(AbortThisProcess);
+ FolderComparison& output);
private:
- void compareByTimeSize(const std::vector<FolderPair>& directoryPairsFormatted, FileCompareResult& output);
+ void compareByTimeSize(const std::vector<FolderPair>& directoryPairsFormatted, FolderComparison& output);
- void compareByContent(const std::vector<FolderPair>& directoryPairsFormatted, FileCompareResult& output);
+ void compareByContent(const std::vector<FolderPair>& directoryPairsFormatted, FolderComparison& output);
//create comparison result table and fill relation except for files existing on both sides
- void performBaseComparison(const FolderPair& pair, FileCompareResult& output);
+ void performBaseComparison(const FolderPair& pair, FileComparison& output);
//buffer accesses to the same directories; useful when multiple folder pairs are used
DirectoryDescrBuffer* descriptionBuffer;
@@ -39,7 +40,7 @@ namespace FreeFileSync
bool& m_warningDependentFolders;
StatusHandler* statusUpdater;
- Zstring txtComparingContentOfFiles;
+ const Zstring txtComparingContentOfFiles;
};
}
bgstack15