You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
377 B
C++
24 lines
377 B
C++
4 years ago
|
#include "StdAfx.h"
|
||
|
#include "WorkCmdMsg.h"
|
||
|
#include "LogMgr.h"
|
||
|
#include "MsgBox.h"
|
||
|
|
||
|
CWorkCmdMsg::CWorkCmdMsg(CString s)
|
||
|
:m_msg(s)
|
||
|
{
|
||
|
}
|
||
|
CWorkCmdMsg::~CWorkCmdMsg(void)
|
||
|
{
|
||
|
}
|
||
|
bool CWorkCmdMsg::Excute()
|
||
|
{
|
||
|
CMsgBox MsgBox;
|
||
|
MsgBox.Show(m_msg);
|
||
|
return true;
|
||
|
}
|
||
|
void CWorkCmdMsg::WirteLog()
|
||
|
{
|
||
|
CString str = "[WorkCmd]";
|
||
|
str += m_msg;
|
||
|
gLogMgr->WriteDebugLog(str);
|
||
|
}
|