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