summaryrefslogtreecommitdiff
path: root/synchronization.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
commitc0fce877c478ddbf71a1b651c789e5ea00a00144 (patch)
treede01b0ae8fd296bd24fbca54a80f2f0ba071d461 /synchronization.h
parent3.3 (diff)
downloadFreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.gz
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.bz2
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.zip
3.4
Diffstat (limited to 'synchronization.h')
-rw-r--r--synchronization.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/synchronization.h b/synchronization.h
index 9db4d112..a030590c 100644
--- a/synchronization.h
+++ b/synchronization.h
@@ -1,3 +1,9 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) *
+// **************************************************************************
+//
#ifndef SYNCHRONIZATION_H_INCLUDED
#define SYNCHRONIZATION_H_INCLUDED
@@ -46,20 +52,17 @@ private:
bool synchronizationNeeded(const FolderComparison& folderCmp);
-class SyncRecursively;
+class SynchronizeFolderPair;
struct FolderPairSyncCfg
{
FolderPairSyncCfg(bool automaticMode,
const DeletionPolicy handleDel,
- const Zstring& custDelDir) :
- inAutomaticMode(automaticMode),
- handleDeletion(handleDel),
- custDelFolder(custDelDir) {}
+ const Zstring& custDelDir);
bool inAutomaticMode; //update database if in automatic mode
DeletionPolicy handleDeletion;
- Zstring custDelFolder;
+ Zstring custDelFolder; //formatted directory name
};
std::vector<FolderPairSyncCfg> extractSyncCfg(const MainConfiguration& mainCfg);
@@ -79,7 +82,7 @@ public:
void startSynchronizationProcess(const std::vector<FolderPairSyncCfg>& syncConfig, FolderComparison& folderCmp);
private:
- friend class SyncRecursively;
+ friend class SynchronizeFolderPair;
const bool m_copyFileSymLinks;
const bool m_traverseDirSymLinks;
bgstack15