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