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.

72 lines
1.9 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: OptionsDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of OptionsDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_OPTIONSDLG_H__1F810152_6257_4A20_8C80_162B76B52548__INCLUDED_)
  15. #define AFX_OPTIONSDLG_H__1F810152_6257_4A20_8C80_162B76B52548__INCLUDED_
  16. #include "CalibrationData.h" // Added by ClassView
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. // OptionsDlg.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // COptionsDlg dialog
  24. struct OPTIONS
  25. {
  26. CString strLgsPortName;
  27. CString strCameraPortName;
  28. };
  29. #define WM_OPTIONS_CHANGED (WM_USER+100)
  30. class COptionsDlg : public CDialog
  31. {
  32. // Construction
  33. public:
  34. void SetData( OPTIONS *pData );
  35. COptionsDlg(CWnd* pParent = NULL); // standard constructor
  36. // Dialog Data
  37. //{{AFX_DATA(COptionsDlg)
  38. enum { IDD = IDD_OPTIONS_DLG };
  39. // NOTE: the ClassWizard will add data members here
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(COptionsDlg)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(COptionsDlg)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnApply();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. private:
  56. OPTIONS *m_pData;
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_OPTIONSDLG_H__1F810152_6257_4A20_8C80_162B76B52548__INCLUDED_)