summaryrefslogtreecommitdiff
path: root/comparison.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:15:39 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:15:39 +0200
commitd2854834e18443876c8f75e0a7f3b88d1d549fc4 (patch)
treee967b628081e50abc7c34cd264e6586271c7e728 /comparison.h
parent4.1 (diff)
downloadFreeFileSync-d2854834e18443876c8f75e0a7f3b88d1d549fc4.tar.gz
FreeFileSync-d2854834e18443876c8f75e0a7f3b88d1d549fc4.tar.bz2
FreeFileSync-d2854834e18443876c8f75e0a7f3b88d1d549fc4.zip
4.2
Diffstat (limited to 'comparison.h')
-rw-r--r--comparison.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/comparison.h b/comparison.h
index e628e86d..3928f44e 100644
--- a/comparison.h
+++ b/comparison.h
@@ -11,7 +11,7 @@
#include "lib/process_xml.h"
#include "lib/status_handler.h"
#include "structures.h"
-#include <zen/disable_standby.h>
+#include <zen/process_status.h>
#include "lib/norm_filter.h"
#include "lib/parallel_scan.h"
@@ -47,6 +47,8 @@ struct FolderPairCfg
std::vector<FolderPairCfg> extractCompareCfg(const MainConfiguration& mainCfg); //fill FolderPairCfg and resolve folder pairs
+//runComparison
+
//class handling comparison process
class CompareProcess
{
@@ -54,6 +56,7 @@ public:
CompareProcess(size_t fileTimeTol,
xmlAccess::OptionalDialogs& warnings,
bool allowUserInteraction,
+ bool runWithBackgroundPriority,
ProcessCallback& handler);
void startCompareProcess(const std::vector<FolderPairCfg>& cfgList, FolderComparison& output);
@@ -82,7 +85,7 @@ private:
const bool allowUserInteraction_;
ProcessCallback& procCallback;
- const Zstring txtComparingContentOfFiles;
+ std::unique_ptr<ScheduleForBackgroundProcessing> procBackground;
};
}
bgstack15