// ZoomView.h : main header file for the ZOOMVIEW application // #if !defined(AFX_ZOOMVIEW_H__8B6DB8F2_2912_49A6_AE66_D4F569C5C0B2__INCLUDED_) #define AFX_ZOOMVIEW_H__8B6DB8F2_2912_49A6_AE66_D4F569C5C0B2__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 ///////////////////////////////////////////////////////////////////////////// // CZoomViewApp: // See ZoomView.cpp for the implementation of this class // class CZoomViewApp : public CWinApp { public: ILEADRasterIO *m_pRasterIO; ILEADRasterAnnotation *m_pRasterAnn; ILEADRasterDlgFile * m_pRasterFileDlg; ILEADRasterDlgKrn * m_pRasterKrnDlg; int m_nOpenMode; short m_iPage; int m_nBitonalScaling; CZoomViewApp(); void UpdateAllDocumentViews(); public: int DisplayLEADError(int nCode); HRESULT CreateRasterObjectLic(ILEADRaster **pRaster); void OpenDocument(int nMode); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CZoomViewApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CZoomViewApp) afx_msg void OnAppAbout(); afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); afx_msg void OnFileOpen(); afx_msg void OnBitonalNormal(); afx_msg void OnUpdateBitonalNormal(CCmdUI* pCmdUI); afx_msg void OnFavorBlack(); afx_msg void OnUpdateFavorBlack(CCmdUI* pCmdUI); afx_msg void OnScaleToGray(); afx_msg void OnUpdateScaleToGray(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. enum { OPENMODE_FILE, OPENMODE_PASTE, }; #endif // !defined(AFX_ZOOMVIEW_H__8B6DB8F2_2912_49A6_AE66_D4F569C5C0B2__INCLUDED_)