summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/status_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/status_handler.h')
-rw-r--r--FreeFileSync/Source/status_handler.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/FreeFileSync/Source/status_handler.h b/FreeFileSync/Source/status_handler.h
index 36a74a2e..89a2b38e 100644
--- a/FreeFileSync/Source/status_handler.h
+++ b/FreeFileSync/Source/status_handler.h
@@ -55,8 +55,15 @@ struct Statistics
virtual ProcessPhase currentPhase() const = 0;
- virtual ProgressStats getStatsCurrent() const = 0;
- virtual ProgressStats getStatsTotal () const = 0;
+ virtual ProgressStats getCurrentStats() const = 0;
+ virtual ProgressStats getTotalStats () const = 0;
+
+ struct ErrorStats
+ {
+ int errorCount;
+ int warningCount;
+ };
+ virtual ErrorStats getErrorStats() const = 0;
virtual std::optional<AbortTrigger> getAbortStatus() const = 0;
virtual const std::wstring& currentStatusText() const = 0;
@@ -140,8 +147,8 @@ public:
//implement Statistics
ProcessPhase currentPhase() const final { return currentPhase_; }
- ProgressStats getStatsCurrent() const override { return statsCurrent_; }
- ProgressStats getStatsTotal () const override { return statsTotal_; }
+ ProgressStats getCurrentStats() const override { return statsCurrent_; }
+ ProgressStats getTotalStats () const override { return statsTotal_; }
const std::wstring& currentStatusText() const override { return statusText_; }
bgstack15