misc/libphysfs/lzma/CPP/7zip/Archive/Common/ParseProperties.h
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     1 // ParseProperties.h
       
     2 
       
     3 #ifndef __PARSEPROPERTIES_H
       
     4 #define __PARSEPROPERTIES_H
       
     5 
       
     6 #include "Common/MyString.h"
       
     7 #include "Common/Types.h"
       
     8 
       
     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);
       
    12 
       
    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);
       
    17 
       
    18 #endif