summaryrefslogtreecommitdiff
path: root/synchronization.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /synchronization.h
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'synchronization.h')
-rw-r--r--synchronization.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/synchronization.h b/synchronization.h
index d44d03ba..62a55d99 100644
--- a/synchronization.h
+++ b/synchronization.h
@@ -9,11 +9,10 @@
#include "file_hierarchy.h"
#include "library/process_xml.h"
+#include "library/status_handler.h"
-class StatusHandler;
-
-namespace ffs3
+namespace zen
{
class SyncStatistics
@@ -36,7 +35,7 @@ public:
typedef std::vector<std::pair<Zstring, wxString> > ConflictTexts; // Pair(filename/conflict text)
const ConflictTexts& getFirstConflicts() const; //get first few sync conflicts
- wxULongLong getDataToProcess() const;
+ zen::UInt64 getDataToProcess() const;
size_t getRowCount() const;
private:
@@ -53,7 +52,7 @@ private:
int deleteLeft, deleteRight;
int conflict;
ConflictTexts firstConflicts; //save the first few conflict texts to display as a warning message
- wxULongLong dataToProcess;
+ zen::UInt64 dataToProcess;
size_t rowsTotal;
};
@@ -81,7 +80,7 @@ public:
bool verifyCopiedFiles,
bool copyLockedFiles,
bool copyFilePermissions,
- StatusHandler& handler);
+ ProcessCallback& handler);
//CONTRACT: syncConfig must have SAME SIZE folderCmp and correspond per row!
void startSynchronizationProcess(const std::vector<FolderPairSyncCfg>& syncConfig, FolderComparison& folderCmp);
@@ -96,7 +95,7 @@ private:
//warnings
xmlAccess::OptionalDialogs& m_warnings;
- StatusHandler& statusUpdater;
+ ProcessCallback& procCallback;
};
bgstack15