You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
442 B
C
26 lines
442 B
C
|
1 year ago
|
#pragma once
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
#include "DllDefines.h"
|
||
|
|
|
||
|
|
#include "DebugStucture.h"
|
||
|
|
|
||
|
|
class IODLLCLASS CDebugSetting
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
CDebugSetting(const std::string& strVarName = "MITL_BENCH_DEBUG_HARDWARE");
|
||
|
|
~CDebugSetting();
|
||
|
|
|
||
|
|
void Load(const std::string& strVarName);
|
||
|
|
|
||
|
|
const nsDebug::stDebug& Get();
|
||
|
|
|
||
|
|
private:
|
||
|
|
std::string getEnv(const std::string& strVarName);
|
||
|
|
|
||
|
|
std::string m_strVarName;
|
||
|
|
nsDebug::stDebug m_debug;
|
||
|
|
};
|
||
|
|
|