www.pudn.com > imageFeatures_Ver3_0_source.zip > ImageFeatures.h


// Partially wizard generated code 
// ImageFeatures.h : main header file for the IMAGEFEATURES application 
// 
 
#if !defined(AFX_IMAGEFEATURES_H__42540388_80AF_11D2_8933_004033A0E6FB__INCLUDED_) 
#define AFX_IMAGEFEATURES_H__42540388_80AF_11D2_8933_004033A0E6FB__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
#ifndef __AFXWIN_H__ 
	#error include 'stdafx.h' before including this file for PCH 
#endif 
 
#include "resource.h"       // main symbols 
 
///////////////////////////////////////////////////////////////////////////// 
// CImageFeaturesApp: 
// See ImageFeatures.cpp for the implementation of this class 
// 
 
class CImageFeaturesApp : public CWinApp 
{ 
public: 
	CImageFeaturesApp(); 
	// This is the connection to the primary device 
	// for getting live images 
//	CVisImageSource m_imagesource; 
 
	// Should printed images be scaled? 
	bool FScaleWhenPrinting(void) const 
		{ return (m_wPercentPrintPage > 0); } 
 
	// How much should printed images be scaled? 
	int PercentPrintPage(void) const 
		{ return m_wPercentPrintPage; } 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CImageFeaturesApp) 
	public: 
	virtual BOOL InitInstance(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
 
	//{{AFX_MSG(CImageFeaturesApp) 
	afx_msg void OnAppAbout(); 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
protected: 
	// Size of printed images as a percentage of page size. 
	// (If this is 0, no scaling should be done when printing images.) 
	int m_wPercentPrintPage; 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_IMAGEFEATURES_H__42540388_80AF_11D2_8933_004033A0E6FB__INCLUDED_)