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