www.pudn.com > MingPlayer.rar > MingPlayerDoc.cpp


// MingPlayerDoc.cpp : implementation of the CMingPlayerDoc class
//

#include "stdafx.h"
#include "MingPlayer.h"

#include "MingPlayerDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMingPlayerDoc

IMPLEMENT_DYNCREATE(CMingPlayerDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CMingPlayerDoc construction/destruction

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

}

CMingPlayerDoc::~CMingPlayerDoc()
{
}

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

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

return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CMingPlayerDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CMingPlayerDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CMingPlayerDoc commands