Index: src/libchcore/TSubTaskStatsInfo.h =================================================================== diff -u -r7d59ab9183c933f2fc2682a95fb5d26cf2f952d7 -rc66b22f786f8434075a09e92de52bba8a53a85db --- src/libchcore/TSubTaskStatsInfo.h (.../TSubTaskStatsInfo.h) (revision 7d59ab9183c933f2fc2682a95fb5d26cf2f952d7) +++ src/libchcore/TSubTaskStatsInfo.h (.../TSubTaskStatsInfo.h) (revision c66b22f786f8434075a09e92de52bba8a53a85db) @@ -48,7 +48,7 @@ static const unsigned long long DefaultSpeedSampleTime = 100; // in miliseconds public: - TSubTaskStatsInfo(); + TSubTaskStatsInfo(ESubOperationType eSubTaskType); 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(); @@ -62,6 +62,7 @@ void SetProcessedCount(file_count_t fcIndex); void SetTotalCount(file_count_t fcCount); + file_count_t GetTotalCount() const; // size stats void IncreaseProcessedSize(unsigned long long ullIncreaseBy); @@ -98,7 +99,6 @@ void SetCurrentPath(const TString& strPath); ESubOperationType GetSubOperationType() const { return m_eSubOperationType; } - void SetSubOperationType(ESubOperationType val) { m_eSubOperationType = val; } // serialization void Store(ISerializerRowData& rRowData) const; @@ -135,7 +135,6 @@ eMod_Timer, eMod_CurrentBufferIndex, eMod_CurrentPath, - eMod_SubOperationType, eMod_IsInitialized, eMod_CurrentItemIndex, eMod_CurrentItemCanResumeSilently, @@ -169,10 +168,10 @@ TSharedModificationTracker m_strCurrentPath; // currently processed path - TSharedModificationTracker m_eSubOperationType; - TSharedModificationTracker m_bIsInitialized; + const ESubOperationType m_eSubOperationType; + #pragma warning(push) #pragma warning(disable: 4251) mutable boost::shared_mutex m_lock;