Upload 2.0.2
[physicsfs] / lzma / CPP / 7zip / IProgress.h
1 // Interface/IProgress.h
2
3 #ifndef __IPROGRESS_H
4 #define __IPROGRESS_H
5
6 #include "../Common/MyUnknown.h"
7 #include "../Common/Types.h"
8
9 #include "IDecl.h"
10
11 DECL_INTERFACE(IProgress, 0, 5)
12 {
13   STDMETHOD(SetTotal)(UInt64 total) PURE;
14   STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
15 };
16
17 /*
18 // {23170F69-40C1-278A-0000-000000050002}
19 DEFINE_GUID(IID_IProgress2, 
20 0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02);
21 MIDL_INTERFACE("23170F69-40C1-278A-0000-000000050002")
22 IProgress2: public IUnknown
23 {
24 public:
25   STDMETHOD(SetTotal)(const UInt64 *total) PURE;
26   STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
27 };
28 */
29
30 #endif