#pragma once #include #ifdef BUILD_UTILITYDLL #define UTILITYDLL __declspec(dllexport) #else #define UTILITYDLL __declspec(dllimport) #endif 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; };