// BarCode.h : main header file for the BARCODE application // #if !defined(AFX_BARCODE_H__92C972E8_759C_11D3_9D95_0060087C0CB3__INCLUDED_) #define AFX_BARCODE_H__92C972E8_759C_11D3_9D95_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 "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CBarCodeApp: // See BarCode.cpp for the implementation of this class // class CBarCodeApp : public CWinApp { public: CBarCodeApp(); public: L_UINT32 m_ulLibs; L_BOOL m_bIsisAvailable; L_BOOL m_bTwainAvailable; L_BOOL m_bISISStarted; L_BOOL m_bTwainStarted; L_TCHAR m_szCurScanDriver[255]; L_TCHAR m_szCaption[255]; LUserBitmap m_LUserBitmap; // For saving Read Dlg values L_INT m_nSymbolType; BARCODE1D m_BarCode1D; BARCODEREADPDF m_BarCodePDF; BARCODEREADOPT m_BarCodeReadOpt; // For saving Write Dlg values L_UINT32 m_ulFlags; BARCODE1D m_WBar1D; BARCODEDATA m_WBarData; BARCODEWRITEPDF m_WBarPDF; BARCODEWRITEDM m_WBarDM; BARCODECOLOR m_WBarColor; L_INT m_nWSymbType; BARCODEWRITEQR m_WBarQR; public: void CreateNewBitmapWindow(LPTSTR lpCaption, LBitmapBase* pLBitmapSrc); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBarCodeApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CBarCodeApp) afx_msg void OnAppAbout(); afx_msg void OnFileOpen(); afx_msg void OnFileNew(); afx_msg void OnFileTwainSelSrc(); afx_msg void OnUpdateFileTwainSelSrc(CCmdUI* pCmdUI); afx_msg void OnFileTwainAcquire(); afx_msg void OnUpdateFileTwainAcquire(CCmdUI* pCmdUI); afx_msg void OnFileIsisSelSrc(); afx_msg void OnUpdateFileIsisSelSrc(CCmdUI* pCmdUI); afx_msg void OnFileIsisAcquire(); afx_msg void OnUpdateFileIsisAcquire(CCmdUI* pCmdUI); afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); afx_msg void OnWindowCloseAll(); afx_msg void OnFileAllError(); afx_msg void OnUpdateFileAllError(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BARCODE_H__92C972E8_759C_11D3_9D95_0060087C0CB3__INCLUDED_)