forked from LosaDev/ls-2019-source
LosaDev source snapshot 2019
This commit is contained in:
commit
c198676e97
20588 files changed
+8812878
No files matched your search
@@ -0,0 +1,40 @@
|
||||
#include "StdAfx.h"
|
||||
#include "QuitCommand.h"
|
||||
#include "../resource.h"
|
||||
#include "../ServerDialog.h"
|
||||
|
||||
|
||||
QuitCommand::QuitCommand(): BaseCommand(BCT_QUIT)
|
||||
{
|
||||
}
|
||||
|
||||
QuitCommand::~QuitCommand()
|
||||
{
|
||||
}
|
||||
|
||||
BOOL QuitCommand::ExecuteServiceAll(CServerDialog* dialog)
|
||||
{
|
||||
AfxGetMainWnd()->SendMessage(WM_CLOSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL QuitCommand::ExecuteServiceOne(CServerDialog* dialog)
|
||||
{
|
||||
AfxGetMainWnd()->SendMessage(WM_CLOSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL QuitCommand::CheckContinueServiceAll(CServerDialog* dialog)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL QuitCommand::CheckContinueServiceOne(CServerDialog* dialog)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL QuitCommand::IsValidDetail()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
Reference in new issue
Block a user