Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
26
Добавлен:
01.05.2014
Размер:
1.76 Кб
Скачать
// oglshdoc.cpp : implementation of the COglshapeDoc class
//

#include "stdafx.h"
#include "oglshape.h"

#include "oglshdoc.h"

#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// COglshapeDoc

IMPLEMENT_DYNCREATE(COglshapeDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// COglshapeDoc construction/destruction

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

}

COglshapeDoc::~COglshapeDoc()
{
}

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

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

	return TRUE;
}

/////////////////////////////////////////////////////////////////////////////
// COglshapeDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// COglshapeDoc diagnostics

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

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

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