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