Home | History | Annotate | Download | only in Common
      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
     19