Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабораторная работа №34 / OGLSHDOC
.CPP// 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
Соседние файлы в папке Лабораторная работа №34