/*[]=====================================================================[]*/ /*[] LeadTools Run Time Library - Version 14 []*/ /*[] []*/ /*[] []*/ /*[] Copyright (c)1991-2004 LEAD Technologies, Inc. []*/ /*[] All Rights Reserved. []*/ /*[]=====================================================================[]*/ #if !defined(AFX_ABC_H__5B0AAA11_34E2_473E_B85D_F517EB3F5CF0__INCLUDED_) #define AFX_ABC_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 "StdAfx.h" #include "resource.h" // main symbols #define PREVIEWSTRING " Preview" ///////////////////////////////////////////////////////////////////////////// // CABCApp: // See ABC.cpp for the implementation of this class // class CABCApp : public CWinApp { public: CABCApp(); BOOL m_bKillProgress; OPENFILENAME m_OpenFileName; L_TCHAR m_szImageDir[_MAX_PATH]; L_TCHAR m_szFileName[_MAX_PATH]; L_TCHAR m_szOpenedFileName[_MAX_PATH]; SAVEDLGPARAMS m_FSParm; SAVEFILEOPTION m_SaveFileOption; L_INT m_nPageNumber; int m_nPaintScaling; enum { Paint_Normal=0, Paint_Resample, Paint_Bicubic, }; L_INT m_Quality; L_BOOL m_bCombine; L_TCHAR m_szQuality[256]; L_INT m_nDisplayMode; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CABCApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation int DisplayLEADError(int nCode); DWORD SetDisplayMode(void); L_VOID CleanOpenDlgParam(LPOPENDLGPARAMS pFOParam); CDocument* OpenDocumentFile( LPCTSTR lpszFileName ); BOOL ClosePreviewDocument( ); void AddToRecentFileList( LPCTSTR lpszPathName ); BOOL FitImagesToWindows( ); //{{AFX_MSG(CABCApp) 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_ABC_H__5B0AAA11_34E2_473E_B85D_F517EB3F5CF0__INCLUDED_)