summaryrefslogtreecommitdiff
path: root/algorithm.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:03:20 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:03:20 +0200
commit528635604eea1d8c679a3d038e2f00030ef72444 (patch)
tree9c3cbec29aa7d3e209939662e040b9342c9e7400 /algorithm.h
parent3.1 (diff)
downloadFreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.gz
FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.bz2
FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.zip
3.2
Diffstat (limited to 'algorithm.h')
-rw-r--r--algorithm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/algorithm.h b/algorithm.h
index b2b0a4ef..580ad2dd 100644
--- a/algorithm.h
+++ b/algorithm.h
@@ -6,6 +6,8 @@
namespace FreeFileSync
{
+class FilterProcess;
+
void swapGrids(const MainConfiguration& config, FolderComparison& folderCmp);
struct DeterminationProblem //callback
@@ -18,7 +20,15 @@ void redetermineSyncDirection(const MainConfiguration& currentMainCfg, FolderCom
void setSyncDirectionRec(SyncDirection newDirection, FileSystemObject& fsObj); //set new direction (recursively)
+bool allElementsEqual(const FolderComparison& folderCmp);
+
+//filtering
void applyFiltering(const MainConfiguration& currentMainCfg, FolderComparison& folderCmp);
+void applyFiltering(const FilterProcess& filter, BaseDirMapping& baseDirectory);
+
+void setActiveStatus(bool newStatus, FolderComparison& folderCmp); //activate or deactivate all rows
+void setActiveStatus(bool newStatus, FileSystemObject& fsObj); //activate or deactivate row: works recursively!
+
//manual deletion of files on main grid
std::pair<wxString, int> deleteFromGridAndHDPreview( //returns wxString with elements to be deleted and total count
bgstack15