Mercurial > vba-linux
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/7zip/7z/CPP/7zip/IProgress.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,33 @@ 1.4 +// Interface/IProgress.h 1.5 + 1.6 +#ifndef __IPROGRESS_H 1.7 +#define __IPROGRESS_H 1.8 + 1.9 +#include "../Common/MyUnknown.h" 1.10 +#include "../Common/Types.h" 1.11 + 1.12 +#include "IDecl.h" 1.13 + 1.14 +#define INTERFACE_IProgress(x) \ 1.15 + STDMETHOD(SetTotal)(UInt64 total) x; \ 1.16 + STDMETHOD(SetCompleted)(const UInt64 *completeValue) x; \ 1.17 + 1.18 +DECL_INTERFACE(IProgress, 0, 5) 1.19 +{ 1.20 + INTERFACE_IProgress(PURE) 1.21 +}; 1.22 + 1.23 +/* 1.24 +// {23170F69-40C1-278A-0000-000000050002} 1.25 +DEFINE_GUID(IID_IProgress2, 1.26 +0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x02); 1.27 +MIDL_INTERFACE("23170F69-40C1-278A-0000-000000050002") 1.28 +IProgress2: public IUnknown 1.29 +{ 1.30 +public: 1.31 + STDMETHOD(SetTotal)(const UInt64 *total) PURE; 1.32 + STDMETHOD(SetCompleted)(const UInt64 *completeValue) PURE; 1.33 +}; 1.34 +*/ 1.35 + 1.36 +#endif