Files
compute-runtime/unit_tests/os_interface/windows/registry_reader_tests.h
Maciej Plewka 9e52684f5b Change namespace from OCLRT to NEO
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00

24 lines
575 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
using namespace NEO;
#include "runtime/os_interface/windows/registry_reader.h"
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();
}
};