// DFE32Doc.cpp : implementation of the CDFE32Doc class // #include "stdafx.h" #include "DFE32.h" #include "DFE32Doc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDFE32Doc IMPLEMENT_DYNCREATE(CDFE32Doc, CDocument) BEGIN_MESSAGE_MAP(CDFE32Doc, CDocument) //{{AFX_MSG_MAP(CDFE32Doc) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDFE32Doc construction/destruction CDFE32Doc::CDFE32Doc() { // TODO: add one-time construction code here } CDFE32Doc::~CDFE32Doc() { } BOOL CDFE32Doc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CDFE32Doc serialization void CDFE32Doc::Serialize(CArchive& ar) { // CEditView contains an edit control which handles all serialization ((CEditView*)m_viewList.GetHead())->SerializeRaw(ar); } ///////////////////////////////////////////////////////////////////////////// // CDFE32Doc diagnostics #ifdef _DEBUG void CDFE32Doc::AssertValid() const { CDocument::AssertValid(); } void CDFE32Doc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CDFE32Doc commands