summaryrefslogtreecommitdiff
path: root/synchronization.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:29 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:29 +0200
commitb8f13e45be884dc12884ebe8f3dcd9eecb23a106 (patch)
tree22a6d8b96815d626061ff3e2d432c13078fca5c4 /synchronization.h
parent5.4 (diff)
downloadFreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.tar.gz
FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.tar.bz2
FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.zip
5.5
Diffstat (limited to 'synchronization.h')
-rw-r--r--synchronization.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/synchronization.h b/synchronization.h
index 525a74d1..dfead072 100644
--- a/synchronization.h
+++ b/synchronization.h
@@ -32,15 +32,16 @@ public:
int getDelete() const;
template <SelectedSide side> int getDelete() const;
- int getConflict() const { return conflict; }
+ int getConflict() const { return static_cast<int>(conflictMsgs.size()); }
typedef std::vector<std::pair<Zstring, std::wstring> > ConflictTexts; // Pair(filename/conflict text)
- const ConflictTexts& getFirstConflicts() const { return firstConflicts; }
+ const ConflictTexts& getConflictMessages() const { return conflictMsgs; }
zen::Int64 getDataToProcess() const { return dataToProcess; }
size_t getRowCount() const { return rowsTotal; }
private:
+ //static const size_t MAX_CONFLICTS = 3;
void init();
void recurse(const HierarchyObject& hierObj);
@@ -52,8 +53,8 @@ private:
int createLeft, createRight;
int updateLeft, updateRight;
int deleteLeft, deleteRight;
- int conflict;
- ConflictTexts firstConflicts; //save the first few conflict texts to display as a warning message
+ // int conflict;
+ ConflictTexts conflictMsgs; //conflict texts to display as a warning message
zen::Int64 dataToProcess;
size_t rowsTotal;
};
bgstack15