Mercurial > vba-linux
diff src/win32/7zip/7z/CPP/7zip/Archive/Common/ParseProperties.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/Archive/Common/ParseProperties.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,18 @@ 1.4 +// ParseProperties.h 1.5 + 1.6 +#ifndef __PARSEPROPERTIES_H 1.7 +#define __PARSEPROPERTIES_H 1.8 + 1.9 +#include "Common/MyString.h" 1.10 +#include "Common/Types.h" 1.11 + 1.12 +HRESULT ParsePropValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); 1.13 +HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize); 1.14 +HRESULT ParsePropDictionaryValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); 1.15 + 1.16 +bool StringToBool(const UString &s, bool &res); 1.17 +HRESULT SetBoolProperty(bool &dest, const PROPVARIANT &value); 1.18 +int ParseStringToUInt32(const UString &srcString, UInt32 &number); 1.19 +HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads); 1.20 + 1.21 +#endif