Mercurial > vba-linux
view src/win32/7zip/7z/CPP/7zip/Common/MethodProps.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 // MethodProps.h3 #ifndef __7Z_METHOD_PROPS_H4 #define __7Z_METHOD_PROPS_H6 #include "../../Common/MyVector.h"8 #include "../../Windows/PropVariant.h"10 #include "MethodId.h"12 struct CProp13 {14 PROPID Id;15 NWindows::NCOM::CPropVariant Value;16 };18 struct CMethod19 {20 CMethodId Id;21 CObjectVector<CProp> Props;22 };24 struct CMethodsMode25 {26 CObjectVector<CMethod> Methods;27 #ifdef COMPRESS_MT28 UInt32 NumThreads;29 #endif31 CMethodsMode()32 #ifdef COMPRESS_MT33 : NumThreads(1)34 #endif35 {}36 bool IsEmpty() const { return Methods.IsEmpty() ; }37 };39 HRESULT SetMethodProperties(const CMethod &method, const UInt64 *inSizeForReduce, IUnknown *coder);41 #endif