www.pudn.com > 3DAni.rar > 3DAniDoc.cpp, change:2004-11-02,size:1756b


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