VideoCaptureDoc.cpp
资源名称:VideoMove.rar [点击查看]
上传用户:czshopping
上传日期:2022-05-22
资源大小:5430k
文件大小:2k
源码类别:
视频捕捉/采集
开发平台:
Visual C++
- // VideoCaptureDoc.cpp : implementation of the CVideoCaptureDoc class
- //
- #include "stdafx.h"
- #include "VideoCapture.h"
- #include "VideoCaptureDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CVideoCaptureDoc
- IMPLEMENT_DYNCREATE(CVideoCaptureDoc, CDocument)
- BEGIN_MESSAGE_MAP(CVideoCaptureDoc, CDocument)
- //{{AFX_MSG_MAP(CVideoCaptureDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CVideoCaptureDoc construction/destruction
- CVideoCaptureDoc::CVideoCaptureDoc()
- {
- // TODO: add one-time construction code here
- }
- CVideoCaptureDoc::~CVideoCaptureDoc()
- {
- }
- BOOL CVideoCaptureDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CVideoCaptureDoc serialization
- void CVideoCaptureDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CVideoCaptureDoc diagnostics
- #ifdef _DEBUG
- void CVideoCaptureDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CVideoCaptureDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CVideoCaptureDoc commands