/[H7]/trunk/H7 Server/H7 ServerDlg.h
ViewVC logotype

Annotation of /trunk/H7 Server/H7 ServerDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations) (download)
Mon Jan 29 10:44:29 2007 UTC (17 years, 4 months ago) by hedin
File MIME type: text/plain
File size: 966 byte(s)
Added basic server structure
1 hedin 3 // H7 ServerDlg.h : header file
2     //
3    
4     #pragma once
5     #include "afxwin.h"
6     #include "TcpServerClass.h"
7     #include "TcpClientClass.h"
8    
9    
10     // CH7ServerDlg dialog
11     class CH7ServerDlg : public CDialog
12     {
13     // Construction
14     public:
15     CH7ServerDlg(CWnd* pParent = NULL); // standard constructor
16    
17     // Dialog Data
18     enum { IDD = IDD_H7SERVER_DIALOG };
19    
20     protected:
21     virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
22    
23    
24     // Implementation
25     protected:
26     HICON m_hIcon;
27     TcpServerClass TcpServer;
28     TcpClientClass TcpClient;
29    
30     // Generated message map functions
31     virtual BOOL OnInitDialog();
32     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
33     afx_msg void OnPaint();
34     afx_msg HCURSOR OnQueryDragIcon();
35     DECLARE_MESSAGE_MAP()
36     public:
37     CEdit m_Status;
38     CComboBox m_BaudRate;
39     CComboBox m_Serial;
40     CButton m_Stop;
41     CEdit m_Port;
42     int m_Start;
43     CButton m_Restart;
44     afx_msg void OnBnClickedStart();
45     CString SetTcpPort(CString Port);
46     };

  ViewVC Help
Powered by ViewVC 1.1.20