/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/source/os_interface/driver_info.h" #include #include #include namespace NEO { class SettingsReader; class DriverInfoWindows : public DriverInfo { public: DriverInfoWindows(std::string &&path); std::string getDeviceName(std::string defaultName) override; std::string getVersion(std::string defaultVersion) override; bool isCompatibleDriverStore() const; bool getMediaSharingSupport() override; static std::function(const std::string ®istryPath)> createRegistryReaderFunc; protected: static std::string trimRegistryKey(std::string key); const std::string path; std::unique_ptr registryReader; }; } // namespace NEO