73 lines
1.6 KiB
C++
73 lines
1.6 KiB
C++
|
// sesadvw.cpp : implementation of the CSesadumpView class
|
||
|
//
|
||
|
|
||
|
#include "stdafx.h"
|
||
|
#include "sesadump.h"
|
||
|
|
||
|
#include "sesaddoc.h"
|
||
|
#include "sesadvw.h"
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
#undef THIS_FILE
|
||
|
static char BASED_CODE THIS_FILE[] = __FILE__;
|
||
|
#endif
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSesadumpView
|
||
|
|
||
|
IMPLEMENT_DYNCREATE(CSesadumpView, CView)
|
||
|
|
||
|
BEGIN_MESSAGE_MAP(CSesadumpView, CView)
|
||
|
//{{AFX_MSG_MAP(CSesadumpView)
|
||
|
// NOTE - the ClassWizard will add and remove mapping macros here.
|
||
|
// DO NOT EDIT what you see in these blocks of generated code!
|
||
|
//}}AFX_MSG_MAP
|
||
|
END_MESSAGE_MAP()
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSesadumpView construction/destruction
|
||
|
|
||
|
CSesadumpView::CSesadumpView()
|
||
|
{
|
||
|
// TODO: add construction code here
|
||
|
}
|
||
|
|
||
|
CSesadumpView::~CSesadumpView()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSesadumpView drawing
|
||
|
|
||
|
void CSesadumpView::OnDraw(CDC* pDC)
|
||
|
{
|
||
|
CSesadumpDoc* pDoc = GetDocument();
|
||
|
ASSERT_VALID(pDoc);
|
||
|
|
||
|
// TODO: add draw code for native data here
|
||
|
}
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSesadumpView diagnostics
|
||
|
|
||
|
#ifdef _DEBUG
|
||
|
void CSesadumpView::AssertValid() const
|
||
|
{
|
||
|
CView::AssertValid();
|
||
|
}
|
||
|
|
||
|
void CSesadumpView::Dump(CDumpContext& dc) const
|
||
|
{
|
||
|
CView::Dump(dc);
|
||
|
}
|
||
|
|
||
|
CSesadumpDoc* CSesadumpView::GetDocument() // non-debug version is inline
|
||
|
{
|
||
|
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CSesadumpDoc)));
|
||
|
return (CSesadumpDoc*)m_pDocument;
|
||
|
}
|
||
|
#endif //_DEBUG
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// CSesadumpView message handlers
|