summaryrefslogtreecommitdiff
path: root/comparison.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 /comparison.h
parent3.1 (diff)
downloadFreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.gz
FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.bz2
FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.zip
3.2
Diffstat (limited to 'comparison.h')
-rw-r--r--comparison.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/comparison.h b/comparison.h
index 28f9d8a3..3a7492c6 100644
--- a/comparison.h
+++ b/comparison.h
@@ -8,32 +8,25 @@ class StatusHandler;
namespace FreeFileSync
{
-class FilterProcess;
struct FolderPairCfg
{
FolderPairCfg(const Zstring& leftDir,
const Zstring& rightDir,
- bool filterAct,
- const Zstring& include,
- const Zstring& exclude,
+ const FilterProcess::FilterRef& filterIn,
const SyncConfiguration& syncCfg) :
leftDirectory(leftDir),
rightDirectory(rightDir),
- filterIsActive(filterAct),
- includeFilter(include),
- excludeFilter(exclude),
+ filter(filterIn),
syncConfiguration(syncCfg) {}
Zstring leftDirectory;
Zstring rightDirectory;
- bool filterIsActive;
- Zstring includeFilter;
- Zstring excludeFilter;
-
+ FilterProcess::FilterRef filter; //filter interface: always bound by design!
SyncConfiguration syncConfiguration;
};
+
std::vector<FolderPairCfg> extractCompareCfg(const MainConfiguration& mainCfg);
bgstack15