summaryrefslogtreecommitdiff
path: root/synchronization.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:27:42 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:27:42 +0200
commitb916407a2a06f8452e82b74dc44c54acbcc572b0 (patch)
tree46358e0bb035fca0f42edb4b5b8aa5f1613814af /synchronization.h
parent5.20 (diff)
downloadFreeFileSync-b916407a2a06f8452e82b74dc44c54acbcc572b0.tar.gz
FreeFileSync-b916407a2a06f8452e82b74dc44c54acbcc572b0.tar.bz2
FreeFileSync-b916407a2a06f8452e82b74dc44c54acbcc572b0.zip
5.21
Diffstat (limited to 'synchronization.h')
-rw-r--r--synchronization.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/synchronization.h b/synchronization.h
index 9fb0ef06..75612d8b 100644
--- a/synchronization.h
+++ b/synchronization.h
@@ -45,9 +45,9 @@ private:
void recurse(const HierarchyObject& hierObj);
- void calcStats(const FilePair& fileObj);
- void calcStats(const SymlinkPair& linkObj);
- void calcStats(const DirPair& dirObj);
+ void processFile(const FilePair& fileObj);
+ void processLink(const SymlinkPair& linkObj);
+ void processDir(const DirPair& dirObj);
int createLeft, createRight;
int updateLeft, updateRight;
@@ -60,16 +60,16 @@ private:
struct FolderPairSyncCfg
{
- FolderPairSyncCfg(bool automaticMode,
+ FolderPairSyncCfg(bool saveSyncDB,
const DeletionPolicy handleDel,
VersioningStyle versioningStyle,
const Zstring& versioningDirFmt) :
- inAutomaticMode(automaticMode),
+ saveSyncDB_(saveSyncDB),
handleDeletion(handleDel),
versioningStyle_(versioningStyle),
versioningFolder(versioningDirFmt) {}
- bool inAutomaticMode; //update database if in automatic mode
+ bool saveSyncDB_; //save database if in automatic mode or dection of moved files is active
DeletionPolicy handleDeletion;
VersioningStyle versioningStyle_;
Zstring versioningFolder; //formatted directory name
bgstack15