// BarCode.h : main header file for the BARCODE application // #if !defined(AFX_BARCODE_H__B7B3E704_8543_11D3_9D96_0060087C0CB3__INCLUDED_) #define AFX_BARCODE_H__B7B3E704_8543_11D3_9D96_0060087C0CB3__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 "RasterTwainSink.h" #include "resource.h" // main symbols #define WM_DOREALIZE (WM_USER + 0) ///////////////////////////////////////////////////////////////////////////// // CBarCodeApp: // See BarCode.cpp for the implementation of this class // class CBarCodeApp : public CWinApp { public: CBarCodeApp(); virtual ~CBarCodeApp(); public: CRasterTwainSink *m_pRasterTwainSink; DWORD m_dwCookie; CLEADRasterView * GetMainLead(); ILEADRaster * m_pRaster; CLEADRasterView * m_pRasterView; ILEADRasterTwain * m_pRasterTwain; ILEADRasterDlgKrn *m_pRasterKrnDlg; ILEADRasterDlgFile *m_pRasterFileDlg; ILEADRasterIO * m_pRasterIO; ILEADRasterProcess* m_pRasterProc; CLEADRasterView m_RasterView; ILEADRasterISIS * m_pRasterISIS; BOOL m_bIsisAvailable; BOOL m_bIntialized; int m_nPage; int m_nDocMode; int m_nNewNo; int m_nPasteNo; int m_nTWAINNo; int m_nISISNo; // Read Dialog Options int m_nSymbolType; RECT m_rcSearch; int m_nMaxCount; long m_ulSearchType; // Write Dialog Options long m_ulBarType; RECT m_rcBar; // Common between Read/Write dialogs CLEADBarCode *m_pReadLeadBar; CLEADBarCode *m_pWriteLeadBar; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBarCodeApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation public: int DisplayLEADError(int nCode); //{{AFX_MSG(CBarCodeApp) afx_msg void OnAppAbout(); afx_msg void OnFileIsisSelSrc(); afx_msg void OnUpdateFileIsisSelSrc(CCmdUI* pCmdUI); afx_msg void OnFileIsisAcquire(); afx_msg void OnUpdateFileIsisAcquire(CCmdUI* pCmdUI); afx_msg void OnFileTwainSelSrc(); afx_msg void OnFileTwainAcquire(); afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); afx_msg void OnWindowCloseAll(); afx_msg void OnFileOpen(); afx_msg void OnFileNew(); afx_msg void OnUpdateFileTwainSelsrc(CCmdUI* pCmdUI); afx_msg void OnUpdateFileTwainAcquire(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BARCODE_H__B7B3E704_8543_11D3_9D96_0060087C0CB3__INCLUDED_)