RMMDoc.cpp
上传用户:hddq88
上传日期:2010-01-15
资源大小:910k
文件大小:2k
- // RMMDoc.cpp : implementation of the CRMMDoc class
- //
- #include "stdafx.h"
- #include "RMM.h"
- #include "RMMDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CRMMDoc
- IMPLEMENT_DYNCREATE(CRMMDoc, CDocument)
- BEGIN_MESSAGE_MAP(CRMMDoc, CDocument)
- //{{AFX_MSG_MAP(CRMMDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CRMMDoc construction/destruction
- CRMMDoc::CRMMDoc()
- {
- // TODO: add one-time construction code here
- }
- CRMMDoc::~CRMMDoc()
- {
- }
- BOOL CRMMDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CRMMDoc serialization
- void CRMMDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CRMMDoc diagnostics
- #ifdef _DEBUG
- void CRMMDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CRMMDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CRMMDoc commands