/*
*********************************************************************
*
*	The Essence of OLE
*
*	Source code sample
*
*	Copyright (c) 1996, Rolling Thunder Computing, Ipswich MA
*
*	e-mail: essence@rollthunder.com
*	CompuServe: 73540.3430
*	Web: http://www.rollthunder.com
*
*	File Name: MFCDATA1DOC.CPP
*
*	Purpose: CDocument class for MFCDATA1 sample app
*
*********************************************************************
*/

// mfcdata1Doc.cpp : implementation of the CMfcdata1Doc class
//

#include "stdafx.h"
#include "mfcdata1.h"

#include "mfcdata1Doc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMfcdata1Doc

IMPLEMENT_DYNCREATE(CMfcdata1Doc, CDocument)

BEGIN_MESSAGE_MAP(CMfcdata1Doc, CDocument)
	//{{AFX_MSG_MAP(CMfcdata1Doc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CMfcdata1Doc construction/destruction

CMfcdata1Doc::CMfcdata1Doc()
{
	// TODO: add one-time construction code here

}

CMfcdata1Doc::~CMfcdata1Doc()
{
}

BOOL CMfcdata1Doc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}

/////////////////////////////////////////////////////////////////////////////
// CMfcdata1Doc serialization

void CMfcdata1Doc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CMfcdata1Doc diagnostics

#ifdef _DEBUG
void CMfcdata1Doc::AssertValid() const
{
	CDocument::AssertValid();
}

void CMfcdata1Doc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CMfcdata1Doc commands
