summaryrefslogtreecommitdiff
path: root/algorithm.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /algorithm.h
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'algorithm.h')
-rw-r--r--algorithm.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/algorithm.h b/algorithm.h
index 1d01f2b5..389170ab 100644
--- a/algorithm.h
+++ b/algorithm.h
@@ -10,9 +10,9 @@
#include "file_hierarchy.h"
-namespace ffs3
+namespace zen
{
-class BaseFilter;
+class SoftFilter;
void swapGrids(const MainConfiguration& config, FolderComparison& folderCmp);
@@ -21,16 +21,17 @@ struct DeterminationProblem //callback
virtual ~DeterminationProblem() {}
virtual void reportWarning(const wxString& text) = 0;
};
-void redetermineSyncDirection(const SyncConfiguration& config, BaseDirMapping& baseDirectory, DeterminationProblem* handler); //handler may be NULL
-void redetermineSyncDirection(const MainConfiguration& currentMainCfg, FolderComparison& folderCmp, DeterminationProblem* handler);
+void redetermineSyncDirection(const SyncConfig& config, BaseDirMapping& baseDirectory, DeterminationProblem* handler); //handler may be NULL
+void redetermineSyncDirection(const MainConfiguration& mainCfg, FolderComparison& folderCmp, DeterminationProblem* handler);
void setSyncDirectionRec(SyncDirection newDirection, FileSystemObject& fsObj); //set new direction (recursively)
bool allElementsEqual(const FolderComparison& folderCmp);
//filtering
-void applyFiltering(const MainConfiguration& currentMainCfg, FolderComparison& folderCmp); //full filter apply
-void addExcludeFiltering(const Zstring& excludeFilter, FolderComparison& folderCmp); //exclude additional entries only
+void applyFiltering (FolderComparison& folderCmp, const MainConfiguration& mainCfg); //full filter apply
+void addExcludeFiltering(FolderComparison& folderCmp, const Zstring& excludeFilter); //exclude additional entries only
+void addSoftFiltering (BaseDirMapping& baseMap, const SoftFilter& timeSizeFilter); //exclude additional entries only
void setActiveStatus(bool newStatus, FolderComparison& folderCmp); //activate or deactivate all rows
void setActiveStatus(bool newStatus, FileSystemObject& fsObj); //activate or deactivate row: (not recursively anymore)
bgstack15