www.pudn.com > moisac_face_detect.rar > FaceDecView.h


// FaceDecView.h : interface of the CFaceDecView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_FACEDECVIEW_H__4528C3AD_53E3_11D7_B637_000021B00837__INCLUDED_) 
#define AFX_FACEDECVIEW_H__4528C3AD_53E3_11D7_B637_000021B00837__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "ImagePr.h" 
 
class CFaceDecView : public CView 
{ 
protected: // create from serialization only 
	CFaceDecView(); 
	DECLARE_DYNCREATE(CFaceDecView) 
 
// Attributes 
public: 
	CFaceDecDoc* GetDocument(); 
 
// Operations 
public: 
	ImagePr *myP; 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFaceDecView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void DrawCenterDC(CDC *pDC); 
	void OnPaint(); 
	virtual ~CFaceDecView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CFaceDecView) 
	afx_msg void OnButtongray(); 
	afx_msg void OnFileOpen(); 
	afx_msg void OnButtondetect(); 
	afx_msg void OnButtonmosaic(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in FaceDecView.cpp 
inline CFaceDecDoc* CFaceDecView::GetDocument() 
   { return (CFaceDecDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FACEDECVIEW_H__4528C3AD_53E3_11D7_B637_000021B00837__INCLUDED_)