CAPTUREView.h
资源名称:CAPTURE.rar [点击查看]
上传用户:wzoulong
上传日期:2022-07-30
资源大小:1796k
文件大小:2k
源码类别:
OpenCV
开发平台:
Visual C++
- // CAPTUREView.h : interface of the CCAPTUREView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CAPTUREVIEW_H__60854661_1626_4043_B3A6_4B277CFCE55C__INCLUDED_)
- #define AFX_CAPTUREVIEW_H__60854661_1626_4043_B3A6_4B277CFCE55C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CCAPTUREView : public CView
- {
- protected: // create from serialization only
- CCAPTUREView();
- DECLARE_DYNCREATE(CCAPTUREView)
- // Attributes
- public:
- CCAPTUREDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCAPTUREView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CCAPTUREView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CCAPTUREView)
- afx_msg void OnShowVideo();
- afx_msg void OnCaptureVideo();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in CAPTUREView.cpp
- inline CCAPTUREDoc* CCAPTUREView::GetDocument()
- { return (CCAPTUREDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CAPTUREVIEW_H__60854661_1626_4043_B3A6_4B277CFCE55C__INCLUDED_)