view src/win32/7zip/7z/CPP/7zip/IProgress.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 // Interface/IProgress.h
3 #ifndef __IPROGRESS_H
4 #define __IPROGRESS_H
6 #include "../Common/MyUnknown.h"
7 #include "../Common/Types.h"
9 #include "IDecl.h"
11 #define INTERFACE_IProgress(x) \
12 STDMETHOD(SetTotal)(UInt64 total) x; \
13 STDMETHOD(SetCompleted)(const UInt64 *completeValue) x; \
15 DECL_INTERFACE(IProgress, 0, 5)
16 {
17 INTERFACE_IProgress(PURE)
18 };
20 /*
21 // {23170F69-40C1-278A-0000-000000050002}
22 DEFINE_GUID(IID_IProgress2,
23 0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02);
24 MIDL_INTERFACE("23170F69-40C1-278A-0000-000000050002")
25 IProgress2: public IUnknown
26 {
27 public:
28 STDMETHOD(SetTotal)(const UInt64 *total) PURE;
29 STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE;
30 };
31 */
33 #endif