| 571 | } |
| 572 | |
| 573 | HRESULT ConfigFile::GetInputFile(const ConfigItem& item, std::wstring& inputFile, bool checkExists) |
| 574 | { |
| 575 | HRESULT hr = E_FAIL; |
| 576 | |
| 577 | if (item) |
| 578 | { |
| 579 | if (FAILED(hr = ::ExpandFilePath(item.c_str(), inputFile, checkExists))) |
| 580 | { |
| 581 | Log::Error(L"Error in specified inputfile in config file '{}' [{}]", item.c_str(), SystemError(hr)); |
| 582 | return hr; |
| 583 | } |
| 584 | } |
| 585 | return S_OK; |
| 586 | } |
| 587 | |
| 588 | HRESULT ConfigFile::SetInputFile(ConfigItem& item, const std::wstring& inputFile) |
| 589 | { |
no test coverage detected