summaryrefslogtreecommitdiff
path: root/comparison.h
diff options
context:
space:
mode:
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