Скачиваний:
68
Добавлен:
01.05.2014
Размер:
1.14 Кб
Скачать
// TheOneDoc.cpp : implementation of the CTheOneDoc class
//

#include "stdafx.h"
#include "TheOne.h"

#include "TheOneSet.h"
#include "TheOneDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CTheOneDoc

IMPLEMENT_DYNCREATE(CTheOneDoc, CDocument)

BEGIN_MESSAGE_MAP(CTheOneDoc, CDocument)
END_MESSAGE_MAP()


// CTheOneDoc construction/destruction

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

}

CTheOneDoc::~CTheOneDoc()
{
}

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

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

	return TRUE;
}




// CTheOneDoc serialization

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


// CTheOneDoc diagnostics

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

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


// CTheOneDoc commands
Соседние файлы в папке TheOne