diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
commit | 4046be06720932a57a0f49416b0144b2858824d0 (patch) | |
tree | 678c37cab05960f48923a23bb46d9e01be89d35a /algorithm.h | |
parent | 1.19 (diff) | |
download | FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.gz FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.bz2 FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.zip |
2.0
Diffstat (limited to 'algorithm.h')
-rw-r--r-- | algorithm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/algorithm.h b/algorithm.h index f05eb95d..13d3d0fc 100644 --- a/algorithm.h +++ b/algorithm.h @@ -17,7 +17,9 @@ namespace FreeFileSync bool endsWithPathSeparator(const Zstring& name); - void swapGrids(FolderComparison& folderCmp); + void swapGrids(const SyncConfiguration& config, FolderComparison& folderCmp); + + void redetermineSyncDirection(const SyncConfiguration& config, FolderComparison& folderCmp); void addSubElements(const FileComparison& fileCmp, const FileCompareLine& relevantRow, std::set<int>& subElements); @@ -62,7 +64,7 @@ inline bool FreeFileSync::endsWithPathSeparator(const Zstring& name) { const size_t len = name.length(); - return len && (name[len - 1] == GlobalResources::FILE_NAME_SEPARATOR); + return len && (name[len - 1] == FreeFileSync::FILE_NAME_SEPARATOR); } |