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