rlm@1: // ParseProperties.h rlm@1: rlm@1: #ifndef __PARSEPROPERTIES_H rlm@1: #define __PARSEPROPERTIES_H rlm@1: rlm@1: #include "Common/MyString.h" rlm@1: #include "Common/Types.h" rlm@1: rlm@1: HRESULT ParsePropValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); rlm@1: HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize); rlm@1: HRESULT ParsePropDictionaryValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue); rlm@1: rlm@1: bool StringToBool(const UString &s, bool &res); rlm@1: HRESULT SetBoolProperty(bool &dest, const PROPVARIANT &value); rlm@1: int ParseStringToUInt32(const UString &srcString, UInt32 &number); rlm@1: HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads); rlm@1: rlm@1: #endif