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