//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: GuardDlg.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of GuardDlg.h //---------------------------------------------------------------------------- #if !defined(AFX_GUARDDLG_H__401357D3_C092_4E10_AB46_B7C171F1FE3F__INCLUDED_) #define AFX_GUARDDLG_H__401357D3_C092_4E10_AB46_B7C171F1FE3F__INCLUDED_ #include "..\DLIB\SensorArray.h" // Added by ClassView #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // GuardDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CGuardDlg dialog class CGuardDlg : public CDialog { // Construction public: CString& GetErrorString(); void SetSensorArray( CSensorArray *pSensorArray ); int DoModal( BOOL bOld ); CGuardDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CGuardDlg) enum { IDD = IDD_GUARD_DLG }; CEdit m_GuardOld; CEdit m_GuardNew; CString m_strGuardNew; CString m_strGuardOld; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CGuardDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CGuardDlg) virtual BOOL OnInitDialog(); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CString m_ErrorString; CString m_LastGuard; CSensorArray *m_pSensorArray; BOOL m_bOldGuard; DWORD m_dwStartTime; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_GUARDDLG_H__401357D3_C092_4E10_AB46_B7C171F1FE3F__INCLUDED_)