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.
22 lines
416 B
C
22 lines
416 B
C
|
2 years ago
|
#pragma once
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
#include "DllDefines.h"
|
||
|
|
|
||
|
|
class UTILITYDLL ApplicationConfig
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
static ApplicationConfig& Instance();
|
||
|
|
bool IsProduction();
|
||
|
|
bool IsBenchDebug();
|
||
|
|
bool IsUnitTest();
|
||
|
|
|
||
|
|
private:
|
||
|
|
ApplicationConfig(void);
|
||
|
|
~ApplicationConfig(void);
|
||
|
|
static ApplicationConfig theInstance;
|
||
|
|
std::string m_applicationName;
|
||
|
|
bool m_bIsBenchDebug;
|
||
|
|
bool m_bIsUnitTest;
|
||
|
|
};
|