📄 mvpview.cpp
字号:
// MVPView.cpp: implementation of the CMVPView class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "..\ImFusionS.h"
#include "..\MVP h\MVPView.h"
#include "..\MVP h\MVPPresenter.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CMVPView::CMVPView()
{
m_PMVPModel=NULL;
m_PMVPPresenter=NULL;
m_PRealView=NULL;
return;
}
CMVPView::~CMVPView()
{
}
void CMVPView::SetModelPresenter(CMVPModel *pModel, CMVPPresenter *pPresenter)
{
m_PMVPModel=pModel;
m_PMVPPresenter=pPresenter;
return;
}
void CMVPView::NotifyEvent(int EventID, LPVOID LPdat)
{
}
void CMVPView::ReceiveEvent(int EventID, LPVOID LPdat)
{
m_PMVPPresenter->OnEvent(EventID,LPdat);
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -