www.pudn.com > SDKSkin.rar > SkinDocDoc.cpp


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