Initial ScEd CVS revision; corresponds to ScEd 0.0.7.2.

This was SVN commit r315.
This commit is contained in:
notpete
2004-05-29 21:45:04 +00:00
parent 210d77c9b3
commit 4928af6239
121 changed files with 13605 additions and 0 deletions
+78
View File
@@ -0,0 +1,78 @@
// ScEdDoc.cpp : implementation of the CScEdDoc class
//
#include "stdafx.h"
#include "ScEd.h"
#include "ScEdDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CScEdDoc
IMPLEMENT_DYNCREATE(CScEdDoc, CDocument)
BEGIN_MESSAGE_MAP(CScEdDoc, CDocument)
//{{AFX_MSG_MAP(CScEdDoc)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CScEdDoc construction/destruction
CScEdDoc::CScEdDoc()
{
// TODO: add one-time construction code here
m_bAutoDelete = FALSE;
}
CScEdDoc::~CScEdDoc()
{
}
BOOL CScEdDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CScEdDoc serialization
void CScEdDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CScEdDoc diagnostics
#ifdef _DEBUG
void CScEdDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CScEdDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CScEdDoc commands