#include #pragma hdrstop #include "swwinlog.h" SWORD_NAMESPACE_START SWWinLog::SWWinLog(HWND iparent) : SWLog() { parent = iparent; } void SWWinLog::logMessage(const char *message, int level) const { static const char *levels[] = { "Off", "Error", "Warning", "Information", "Information...", "Log", "Log" }; MessageBox(NULL, message, levels[level], MB_OK); } SWORD_NAMESPACE_END