// JPEG2000.h : main header file for the JPEG2000 application // #if !defined(AFX_JPEG2000_H__5B0AAA11_34E2_473E_B85D_F517EB3F5CF0__INCLUDED_) #define AFX_JPEG2000_H__5B0AAA11_34E2_473E_B85D_F517EB3F5CF0__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 ///////////////////////////////////////////////////////////////////////////// // CJPEG2000App: // See JPEG2000.cpp for the implementation of this class // #define IS_MULTIRES_FORMAT(_f) \ (( FILE_J2K == (_f) )|| \ ( FILE_JP2 == (_f) )|| \ ( FILE_CMW == (_f) )|| \ ( FILE_TIF_J2K == (_f) )|| \ ( FILE_TIF_CMW == (_f) )) class CJPEG2000App : public CWinApp { public: CJPEG2000App(); BOOL m_bKillProgress; BOOL m_bInProcess; BOOL m_bPaintWhileLoad; BOOL m_bEnableROI; OPENFILENAME m_OpenFileName; L_TCHAR m_szImageDir[_MAX_PATH]; L_TCHAR m_szFileName[_MAX_PATH]; L_TCHAR m_szFileName2[_MAX_PATH]; SAVEDLGPARAMS m_FSParm; SAVEFILEOPTION m_SaveFileOption; int m_nPaintScaling; enum { Paint_Normal=0, Paint_Resample, Paint_Bicubic, }; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CJPEG2000App) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation CDocument* OpenDocumentFile(LPCTSTR lpszFileName); LOADFILEOPTION m_lfo; int DisplayLEADError(int nCode); DWORD SetDisplayMode(void); L_VOID CleanOpenDlgParam(LPOPENDLGPARAMS pFOParam); //{{AFX_MSG(CJPEG2000App) afx_msg void OnAppAbout(); afx_msg void OnFileOpen(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_JPEG2000_H__5B0AAA11_34E2_473E_B85D_F517EB3F5CF0__INCLUDED_)