// SegDemo.h : main header file for the SEGDEMO application // #if !defined(AFX_SEGDEMO_H__1E9BA57F_3F1F_43AF_9A1B_825D75B70B59__INCLUDED_) #define AFX_SEGDEMO_H__1E9BA57F_3F1F_43AF_9A1B_825D75B70B59__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 #include "RasterMrcSink.h" ///////////////////////////////////////////////////////////////////////////// // CSegDemoApp: // See SegDemo.cpp for the implementation of this class // class CSegDemoApp : public CWinApp { public: ILEADRasterIO *m_pRasterIO; ILEADRasterDlgFile * m_pRasterFileDlg; ILEADRasterDlgKrn * m_pRasterKrnDlg; ILEADRasterDlgClr * m_pRasterClrDlg; ILEADRasterDlgImg * m_pRasterImgDlg; ILEADRasterProcess * m_pRasterProc; BOOL m_bOpenMRC; short m_iPage; int m_nOpenMode; int DisplayLEADError(int nCode); HRESULT CreateRasterObjectLic(ILEADRaster **pRaster); void OpenDocument(int nMode); long m_pBitmap; MRCOPTIONS m_MrcOptions; PDFOPTIONS m_PdfOptions; SEGMENTOPTIONS m_SegementOptions; COMBINEOPTIONS m_CombineOptions; COLORSOPTIONS m_ColorsOptions; int m_PDFXResolution; int m_PDFYResolution; BOOL m_bShowFDFOptionsDlg; public: CSegDemoApp(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSegDemoApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CSegDemoApp) afx_msg void OnAppAbout(); afx_msg void OnFileOpenBitmap(); afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); afx_msg void OnFileOpenMrc(); afx_msg void OnFileSaveall(); //}}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, OPENMODE_BITMAP, }; #endif // !defined(AFX_SEGDEMO_H__1E9BA57F_3F1F_43AF_9A1B_825D75B70B59__INCLUDED_)