⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wmp4playerdoc.cpp

📁 网络MPEG4IP流媒体开发源代码
💻 CPP
字号:
// wmp4playerDoc.cpp : implementation of the CWmp4playerDoc class//#include "stdafx.h"#include "wmp4player.h"#include "wmp4playerDoc.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CWmp4playerDocIMPLEMENT_DYNCREATE(CWmp4playerDoc, CDocument)BEGIN_MESSAGE_MAP(CWmp4playerDoc, CDocument)	//{{AFX_MSG_MAP(CWmp4playerDoc)	ON_COMMAND(ID_FILE_CLOSE, OnFileClose)	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CWmp4playerDoc construction/destructionCWmp4playerDoc::CWmp4playerDoc(){	// TODO: add one-time construction code here}CWmp4playerDoc::~CWmp4playerDoc(){}BOOL CWmp4playerDoc::OnNewDocument(){	OutputDebugString("\nDocument - OnNewDocument\n");		if (theApp.m_mp4if == NULL) {		this->SetTitle("");	} else	this->SetTitle(theApp.m_current_playing);#if 0	if (!CDocument::OnNewDocument())		return FALSE;#endif	// TODO: add reinitialization code here	// (SDI documents will reuse this document)	return TRUE;}/////////////////////////////////////////////////////////////////////////////// CWmp4playerDoc serializationvoid CWmp4playerDoc::Serialize(CArchive& ar){	OutputDebugString("\nDoc - serialize\n");	if (ar.IsStoring())	{		// TODO: add storing code here	}	else	{		// TODO: add loading code here	}}/////////////////////////////////////////////////////////////////////////////// CWmp4playerDoc diagnostics#ifdef _DEBUGvoid CWmp4playerDoc::AssertValid() const{	CDocument::AssertValid();}void CWmp4playerDoc::Dump(CDumpContext& dc) const{	CDocument::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CWmp4playerDoc commandsvoid CWmp4playerDoc::OnFileClose() {	// TODO: Add your command handler code here	theApp.StopSession();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -