view 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 source
1 // ParseProperties.h
3 #ifndef __PARSEPROPERTIES_H
4 #define __PARSEPROPERTIES_H
6 #include "Common/MyString.h"
7 #include "Common/Types.h"
9 HRESULT ParsePropValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue);
10 HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize);
11 HRESULT ParsePropDictionaryValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue);
13 bool StringToBool(const UString &s, bool &res);
14 HRESULT SetBoolProperty(bool &dest, const PROPVARIANT &value);
15 int ParseStringToUInt32(const UString &srcString, UInt32 &number);
16 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads);
18 #endif