Index: src/libchcore/TSubTaskStatsInfo.h =================================================================== diff -u -N -ra44714d5c7ec0f50a376f4d0ea919ee5a224f834 -rd76d3ce6c8c55fa23009dbb03b8bc06f482c5b72 --- src/libchcore/TSubTaskStatsInfo.h (.../TSubTaskStatsInfo.h) (revision a44714d5c7ec0f50a376f4d0ea919ee5a224f834) +++ src/libchcore/TSubTaskStatsInfo.h (.../TSubTaskStatsInfo.h) (revision d76d3ce6c8c55fa23009dbb03b8bc06f482c5b72) @@ -66,6 +66,7 @@ void Init(int iCurrentBufferIndex, file_count_t fcTotalCount, file_count_t fcProcessedCount, unsigned long long ullTotalSize, unsigned long long ullProcessedSize, const TString& strCurrentPath); void Clear(); + bool WasAdded() const; bool IsInitialized() const; @@ -90,6 +91,13 @@ void SetCurrentItemTotalSize(unsigned long long ullTotalSize); + unsigned long long GetCurrentItemProcessedSize() const; + unsigned long long GetCurrentItemTotalSize() const; + + // current index + void SetCurrentIndex(file_count_t fcIndex); + file_count_t GetCurrentIndex() const; + // buffer index void SetCurrentBufferIndex(int iCurrentIndex); @@ -135,6 +143,7 @@ eMod_CurrentPath, eMod_SubOperationType, eMod_IsInitialized, + eMod_CurrentItemIndex, // last item eMod_Last @@ -153,6 +162,8 @@ TSharedModificationTracker m_fcProcessedCount; mutable TSharedModificationTracker m_tCountSpeed; + TSharedModificationTracker m_fcCurrentIndex; + TSharedModificationTracker m_ullCurrentItemProcessedSize; TSharedModificationTracker m_ullCurrentItemTotalSize;