www.pudn.com > tc3d.zip > DUDEDOC.CPP


// dudeDoc.cpp : implementation of the DudeDoc class 
// 
 
#include "stdafx.h" 
#include "dudes.h" 
 
#include "dudeDoc.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// DudeDoc 
 
IMPLEMENT_DYNCREATE(DudeDoc, CDocument) 
 
BEGIN_MESSAGE_MAP(DudeDoc, CDocument) 
	//{{AFX_MSG_MAP(DudeDoc) 
		// 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() 
 
///////////////////////////////////////////////////////////////////////////// 
// DudeDoc construction/destruction 
 
DudeDoc::DudeDoc() 
{ 
	// TODO: add one-time construction code here 
 
} 
 
DudeDoc::~DudeDoc() 
{ 
} 
 
BOOL DudeDoc::OnNewDocument() 
{ 
	if (!CDocument::OnNewDocument()) 
		return FALSE; 
 
	// TODO: add reinitialization code here 
	// (SDI documents will reuse this document) 
 
	return TRUE; 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// DudeDoc serialization 
 
void DudeDoc::Serialize(CArchive& ar) 
{ 
	if (ar.IsStoring()) 
	{ 
		// TODO: add storing code here 
	} 
	else 
	{ 
		// TODO: add loading code here 
	} 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// DudeDoc diagnostics 
 
#ifdef _DEBUG 
void DudeDoc::AssertValid() const 
{ 
	CDocument::AssertValid(); 
} 
 
void DudeDoc::Dump(CDumpContext& dc) const 
{ 
	CDocument::Dump(dc); 
} 
#endif //_DEBUG 
 
///////////////////////////////////////////////////////////////////////////// 
// DudeDoc commands