22 #ifndef TESTBED_CONFIG_PARAMS_H 23 #define TESTBED_CONFIG_PARAMS_H 25 #include "common/singleton.h" 26 #include "common/stream.h" 27 #include "graphics/fontman.h" 29 class TestbedConfigManager;
48 Graphics::FontManager::FontUsage _displayFont;
55 bool _isGameDataFound;
57 bool _isCloudTestCallbackCalled;
58 bool _isCloudTestErrorCallbackCalled;
65 bool isRerunRequired();
66 void setRerunFlag(
bool flag) { _rerunTests = flag; }
68 bool isSessionInteractive() {
return _isInteractive; }
69 void setSessionAsInteractive(
bool status) { _isInteractive = status; }
71 bool isGameDataFound() {
return _isGameDataFound; }
72 void setGameDataFound(
bool status) { _isGameDataFound = status; }
75 bool isCloudTestCallbackCalled()
const {
return _isCloudTestCallbackCalled; }
76 void setCloudTestCallbackCalled(
bool status) { _isCloudTestCallbackCalled = status; }
78 bool isCloudTestErrorCallbackCalled()
const {
return _isCloudTestErrorCallbackCalled; }
79 void setCloudTestErrorCallbackCalled(
bool status) { _isCloudTestErrorCallbackCalled = status; }
85 Common::Path &getLogDirectory() {
return _logDirectory; }
86 void setLogDirectory(
const Common::Path &dirname) { _logDirectory = dirname; }
88 void setLogFilename(
const Common::String &filename) { _logFilename = filename; }
91 Graphics::FontManager::FontUsage getCurrentFontUsageType() {
return _displayFont; }
92 void setCurrentFontUsageType(Graphics::FontManager::FontUsage f) { _displayFont = f; }
100 void deleteWriteStream();
104 #define ConfParams ConfigParams::instance()
void initLogging(const Common::Path &dirname, const char *filename, bool enable=true)
Definition: config-params.h:33
Definition: singleton.h:42