Index: src/libchcore/TSubTaskStatsSnapshot.h =================================================================== diff -u -N -ra44714d5c7ec0f50a376f4d0ea919ee5a224f834 -rd76d3ce6c8c55fa23009dbb03b8bc06f482c5b72 --- src/libchcore/TSubTaskStatsSnapshot.h (.../TSubTaskStatsSnapshot.h) (revision a44714d5c7ec0f50a376f4d0ea919ee5a224f834) +++ src/libchcore/TSubTaskStatsSnapshot.h (.../TSubTaskStatsSnapshot.h) (revision d76d3ce6c8c55fa23009dbb03b8bc06f482c5b72) @@ -62,6 +62,9 @@ void SetCurrentItemTotalSize(unsigned long long ullTotalSize) { m_ullCurrentItemTotalSize = ullTotalSize; } unsigned long long GetCurrentItemTotalSize() const { return m_ullCurrentItemTotalSize; } + void SetCurrentIndex(file_count_t fcCurrentIndex) { m_fcCurrentIndex = fcCurrentIndex; } + file_count_t GetCurrentIndex() const { return m_fcCurrentIndex; } + // progress in percent double GetCombinedProgress() const; // returns progress [0.0, 1.0] @@ -111,6 +114,7 @@ // current item size unsigned long long m_ullCurrentItemTotalSize; unsigned long long m_ullCurrentItemProcessedSize; + file_count_t m_fcCurrentIndex; ESubOperationType m_eSubOperationType;