// SketcherDoc.cpp : implementation of the CSketcherDoc class // #include "stdafx.h" #include "Sketcher.h" #include "SketcherDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CSketcherDoc IMPLEMENT_DYNCREATE(CSketcherDoc, CDocument) BEGIN_MESSAGE_MAP(CSketcherDoc, CDocument) END_MESSAGE_MAP() // CSketcherDoc construction/destruction CSketcherDoc::CSketcherDoc() { // TODO: add one-time construction code here } CSketcherDoc::~CSketcherDoc() { } BOOL CSketcherDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } // CSketcherDoc serialization void CSketcherDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } // CSketcherDoc diagnostics #ifdef _DEBUG void CSketcherDoc::AssertValid() const { CDocument::AssertValid(); } void CSketcherDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG // CSketcherDoc commands