xref: /third_party/lzma/CPP/7zip/Common/ProgressUtils.h (revision 370b324c)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/lzma/CPP/7zip/Common/
1// ProgressUtils.h
2
3#ifndef ZIP7_INC_PROGRESS_UTILS_H
4#define ZIP7_INC_PROGRESS_UTILS_H
5
6#include "../../Common/MyCom.h"
7
8#include "../ICoder.h"
9#include "../IProgress.h"
10
11Z7_CLASS_IMP_COM_1(
12  CLocalProgress
13  , ICompressProgressInfo
14)
15public:
16  bool SendRatio;
17  bool SendProgress;
18private:
19  bool _inSizeIsMain;
20  CMyComPtr<IProgress> _progress;
21  CMyComPtr<ICompressProgressInfo> _ratioProgress;
22public:
23  UInt64 ProgressOffset;
24  UInt64 InSize;
25  UInt64 OutSize;
26
27  CLocalProgress();
28
29  void Init(IProgress *progress, bool inSizeIsMain);
30  HRESULT SetCur();
31};
32
33#endif
34

Indexes created Thu Nov 07 10:32:03 CST 2024