mvpview.h
来自「MVP设计模式在vc下的构件」· C头文件 代码 · 共 34 行
H
34 行
// MVPView.h: interface for the CMVPView class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MVPVIEW_H__C52809BE_32EF_4F0A_BBBF_1396209E2A55__INCLUDED_)
#define AFX_MVPVIEW_H__C52809BE_32EF_4F0A_BBBF_1396209E2A55__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMVPModel;
class CMVPPresenter;
class CWnd;
//class CMVPView;
class CMVPView
{
public:
virtual void ReceiveEvent(int EventID, LPVOID LPdat);
virtual void NotifyEvent(int EventID, LPVOID LPdat);
void SetModelPresenter(CMVPModel * pModel, CMVPPresenter * pPresenter);
CMVPView();
virtual ~CMVPView();
CMVPModel *m_PMVPModel;
CMVPPresenter *m_PMVPPresenter;
CWnd * m_PRealView;
//CView * m_PRealView;
};
#endif // !defined(AFX_MVPVIEW_H__C52809BE_32EF_4F0A_BBBF_1396209E2A55__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?