summaryrefslogtreecommitdiff
path: root/synchronization.h
diff options
context:
space:
mode:
Diffstat (limited to 'synchronization.h')
-rw-r--r--synchronization.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/synchronization.h b/synchronization.h
index dceac496..3a3dcec1 100644
--- a/synchronization.h
+++ b/synchronization.h
@@ -64,17 +64,17 @@ struct FolderPairSyncCfg
{
FolderPairSyncCfg(bool automaticMode,
const DeletionPolicy handleDel,
- const Zstring& versioningDirFmt,
- int versionCountLimit) :
+ VersioningStyle versioningStyle,
+ const Zstring& versioningDirFmt) :
inAutomaticMode(automaticMode),
handleDeletion(handleDel),
- versioningFolder(versioningDirFmt),
- versionCountLimit_(versionCountLimit) {}
+ versioningStyle_(versioningStyle),
+ versioningFolder(versioningDirFmt) {}
bool inAutomaticMode; //update database if in automatic mode
DeletionPolicy handleDeletion;
+ VersioningStyle versioningStyle_;
Zstring versioningFolder; //formatted directory name
- int versionCountLimit_;
};
std::vector<FolderPairSyncCfg> extractSyncCfg(const MainConfiguration& mainCfg);
bgstack15