Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.6 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. // EmulateLGSDlg.h : header file
  2. //
  3. #if !defined(AFX_EMULATELGSDLG_H__7A90A99B_6ABB_4A33_AA18_5FB89D1A639F__INCLUDED_)
  4. #define AFX_EMULATELGSDLG_H__7A90A99B_6ABB_4A33_AA18_5FB89D1A639F__INCLUDED_
  5. #include "EmulateHW.h" // Added by ClassView
  6. #include "..\LGS\KERNEL.H" // Added by ClassView
  7. #include "..\LGS\Shadow.h" // Added by ClassView
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CEmulateLGSDlg dialog
  13. class CEmulateLGSDlg : public CDialog, public CLgThread
  14. {
  15. // Construction
  16. public:
  17. CEmulateLGSDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CEmulateLGSDlg)
  20. enum { IDD = IDD_EMULATELGS_DIALOG };
  21. // NOTE: the ClassWizard will add data members here
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CEmulateLGSDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. HICON m_hIcon;
  31. // Generated message map functions
  32. //{{AFX_MSG(CEmulateLGSDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  35. afx_msg void OnPaint();
  36. afx_msg HCURSOR OnQueryDragIcon();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. private:
  40. CComm485 m_CommPort[2];
  41. CShadow m_Shadow;
  42. CBoard m_Board;
  43. CKernel m_Kernel;
  44. private:
  45. virtual DWORD ThreadProc();
  46. };
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_EMULATELGSDLG_H__7A90A99B_6ABB_4A33_AA18_5FB89D1A639F__INCLUDED_)