www.pudn.com > dataCS.rar > SuperServerDoc.cpp


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