rename a function

This commit is contained in:
Glenn Maynard
2003-02-17 03:08:53 +00:00
parent 28166cf4a3
commit 18053b03e3
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -21,8 +21,9 @@ public:
/* This receives all logs. 'important' is set for Warn and Info. */ /* This receives all logs. 'important' is set for Warn and Info. */
virtual void Log(CString str, bool important) { } virtual void Log(CString str, bool important) { }
/* This is called when DISPLAY is constructed. */ /* This is called as soon as SDL is set up, the loading window is shown
virtual void PreDisplayInit() { } * and we can safely log and throw. */
virtual void DumpDebugInfo() { }
virtual ~ArchHooks() { } virtual ~ArchHooks() { }
}; };
@@ -22,7 +22,7 @@ void ArchHooks_Win32::Log(CString str, bool important)
CrashLog(str); CrashLog(str);
} }
void ArchHooks_Win32::PreDisplayInit() void ArchHooks_Win32::DumpDebugInfo()
{ {
/* This is a good time to do the debug search: before we actually /* This is a good time to do the debug search: before we actually
* start OpenGL (in case something goes wrong). */ * start OpenGL (in case something goes wrong). */
@@ -7,7 +7,7 @@ class ArchHooks_Win32: public ArchHooks
public: public:
ArchHooks_Win32(); ArchHooks_Win32();
void Log(CString str, bool important); void Log(CString str, bool important);
void PreDisplayInit(); void DumpDebugInfo();
}; };
#undef ARCH_HOOKS #undef ARCH_HOOKS