compute-runtime/unit_tests/os_interface/windows/registry_reader_tests.h

24 lines
588 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/os_interface/windows/registry_reader.h"
namespace NEO {
class TestedRegistryReader : public RegistryReader {
public:
TestedRegistryReader(bool userScope) : RegistryReader(userScope){};
TestedRegistryReader(std::string regKey) : RegistryReader(regKey){};
HKEY getHkeyType() const {
return igdrclHkeyType;
}
using RegistryReader::getSetting;
const char *getRegKey() const {
return registryReadRootKey.c_str();
}
};
} // namespace NEO