ParseProperties.h 702 B

123456789101112131415161718
  1. // ParseProperties.h
  2. #ifndef __PARSEPROPERTIES_H
  3. #define __PARSEPROPERTIES_H
  4. #include "Common/MyString.h"
  5. #include "Common/Types.h"
  6. HRESULT ParsePropValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue);
  7. HRESULT ParsePropDictionaryValue(const UString &srcStringSpec, UInt32 &dicSize);
  8. HRESULT ParsePropDictionaryValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue);
  9. bool StringToBool(const UString &s, bool &res);
  10. HRESULT SetBoolProperty(bool &dest, const PROPVARIANT &value);
  11. int ParseStringToUInt32(const UString &srcString, UInt32 &number);
  12. HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads);
  13. #endif