// setdlg.h : interface of the CSettingsDlg class // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) 1992-1998 Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sources for detailed information regarding the // Microsoft Foundation Classes product. #include "mainfrm.h" #ifndef _SETDLG_H_ #define _SETDLG_H_ ///////////////////////////////////////////////////////////////////////////// // CSettingsDlg dialog class CSettingsDlg : public CDialog { // Construction public: CSettingsDlg(CMainFrame* pParent = NULL); CMainFrame* m_pMainFrame; // Dialog Data //{{AFX_DATA(CSettingsDlg) enum { IDD = IDD_SETTINGS }; int m_baud; int m_comport; int m_databits; int m_echo; int m_flow; int m_parity; int m_stopbits; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSettingsDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CSettingsDlg) virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #endif // _SETDLG_H_