// MSVC5OCR.h : main header file for the MSVC5OCR application // #if !defined(AFX_MSVC5OCR_H__DFCE2513_6DA2_4505_A1A8_F06DA28D833E__INCLUDED_) #define AFX_MSVC5OCR_H__DFCE2513_6DA2_4505_A1A8_F06DA28D833E__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 ///////////////////////////////////////////////////////////////////////////// // CMSVC5OCRApp: // See MSVC5OCR.cpp for the implementation of this class // #include "RasterTwainSink.h" ///////////////////////////////////////////////////////////////////////////// // CAsciiEdit Edit box #ifdef UNICODE class CAsciiEdit : public CEdit { // Construction public: CAsciiEdit(); // standard constructor virtual ~CAsciiEdit(); private: BOOL CheckText ( CString &str ) ; BOOL CheckPasteText ( ) ; protected: virtual LRESULT WindowProc ( UINT message, WPARAM wParam, LPARAM lParam ) ; }; #endif class CMSVC5OCRApp : public CWinApp { public: CMSVC5OCRApp(); ~CMSVC5OCRApp(); int m_nPageNum; ILEADRaster * m_pRaster; ILEADRasterIO * m_pRasterIO; ILEADRasterProcess* m_pRasterProc; ILEADRasterDlgKrn * m_pRasterDlgKrn; ILEADRasterDlgFile* m_pRasterDlgFile; ILEADRasterTwain *m_pRasterTwain; CRasterTwainSink *m_pRasterTwainSink; DWORD m_dwCookie; int m_nPageMode; POSITION m_Pos; BOOL m_bTwnAvailable; void AddTwainImage(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMSVC5OCRApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CMSVC5OCRApp) afx_msg void OnAppAbout(); afx_msg void OnFileOpen(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MSVC5OCR_H__DFCE2513_6DA2_4505_A1A8_F06DA28D833E__INCLUDED_)