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