Suppress warnings and error messages in splash screen

This commit is contained in:
wmayer 2012-07-05 10:44:35 +02:00
parent b6b575759a
commit 4cc896f11c

View File

@ -88,23 +88,31 @@ public:
textColor = col; textColor = col;
} }
} }
virtual ~SplashObserver() virtual ~SplashObserver()
{ {
Base::Console().DetachObserver(this); Base::Console().DetachObserver(this);
} }
const char* Name()
{
return "SplashObserver";
}
void Warning(const char * s) void Warning(const char * s)
{ {
#ifdef FC_DEBUG
Log(s); Log(s);
#endif
} }
void Message(const char * s) void Message(const char * s)
{ {
#ifdef FC_DEBUG
Log(s); Log(s);
#endif
} }
void Error (const char * s) void Error (const char * s)
{ {
#ifdef FC_DEBUG
Log(s); Log(s);
#endif
} }
void Log (const char * s) void Log (const char * s)
{ {