2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2020-02-23 05:21:06 +08:00
|
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
|
|
#include "shared/source/utilities/debug_settings_reader.h"
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
class EnvironmentVariableReader : public SettingsReader {
|
|
|
|
public:
|
|
|
|
int32_t getSetting(const char *settingName, int32_t defaultValue) override;
|
2020-03-27 14:47:16 +08:00
|
|
|
int64_t getSetting(const char *settingName, int64_t defaultValue) override;
|
2017-12-21 07:45:38 +08:00
|
|
|
bool getSetting(const char *settingName, bool defaultValue) override;
|
|
|
|
std::string getSetting(const char *settingName, const std::string &value) override;
|
2018-10-10 22:02:19 +08:00
|
|
|
const char *appSpecificLocation(const std::string &name) override;
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|