3 #ifndef __PROGRESSUTILS_H
4 #define __PROGRESSUTILS_H
6 #include "../../Common/MyCom.h"
9 #include "../IProgress.h"
12 public ICompressProgressInfo,
15 CMyComPtr<IProgress> _progress;
16 CMyComPtr<ICompressProgressInfo> _ratioProgress;
19 UInt64 ProgressOffset;
26 void Init(IProgress *progress, bool inSizeIsMain);
31 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);