summaryrefslogtreecommitdiff
path: root/synchronization.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:56:14 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:56:14 +0200
commit1046c195a9bbac24678c06310a4dd56b10347244 (patch)
tree89ad9f6fe3e538d65ef973b628ed9284b6c99e9f /synchronization.h
parent1.14 (diff)
downloadFreeFileSync-1046c195a9bbac24678c06310a4dd56b10347244.tar.gz
FreeFileSync-1046c195a9bbac24678c06310a4dd56b10347244.tar.bz2
FreeFileSync-1046c195a9bbac24678c06310a4dd56b10347244.zip
1.15
Diffstat (limited to 'synchronization.h')
-rw-r--r--synchronization.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/synchronization.h b/synchronization.h
index 32ffaba6..7e80dc7b 100644
--- a/synchronization.h
+++ b/synchronization.h
@@ -7,12 +7,14 @@
namespace FreeFileSync
{
- void calcTotalBytesToSync(int& objectsToCreate,
+ void calcTotalBytesToSync(const FileCompareResult& fileCmpResult,
+ const SyncConfiguration& config,
+ int& objectsToCreate,
int& objectsToOverwrite,
int& objectsToDelete,
- double& dataToProcess,
- const FileCompareResult& fileCmpResult,
- const SyncConfiguration& config);
+ double& dataToProcess);
+
+ bool synchronizationNeeded(const FileCompareResult& fileCmpResult, const SyncConfiguration& config);
//class handling synchronization process
class SyncProcess
@@ -28,14 +30,13 @@ namespace FreeFileSync
const bool useRecycleBin;
StatusHandler* statusUpdater;
- wxString optionalLineBreak; //optional line break for status messages (used by GUI mode only)
//preload status texts
- const Zstring txtCopyingFile;
- const Zstring txtOverwritingFile;
- const Zstring txtCreatingFolder;
- const Zstring txtDeletingFile;
- const Zstring txtDeletingFolder;
+ Zstring txtCopyingFile;
+ Zstring txtOverwritingFile;
+ Zstring txtCreatingFolder;
+ Zstring txtDeletingFile;
+ Zstring txtDeletingFolder;
};
}
bgstack15