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.
24 lines
614 B
C++
24 lines
614 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#ifdef BUILD_UTILITYDLL
|
|
#define UTILITYDLL __declspec(dllexport)
|
|
#else
|
|
#define UTILITYDLL __declspec(dllimport)
|
|
#endif
|
|
|
|
class UTILITYDLL ApplicationConfig
|
|
{
|
|
public:
|
|
static ApplicationConfig &Instance();
|
|
bool IsBenchDebug();
|
|
bool IsUnitTest();
|
|
private:
|
|
ApplicationConfig(void);
|
|
~ApplicationConfig(void);
|
|
static ApplicationConfig theInstance;
|
|
std::string m_applicationName;
|
|
bool m_bIsBenchDebug;
|
|
bool m_bIsUnitTest;
|
|
};
|