/[H8]/trunk/test-server/test-serverDlg.h
ViewVC logotype

Annotation of /trunk/test-server/test-serverDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (hide annotations) (download)
Mon May 28 14:41:33 2007 UTC (17 years ago) by torben
File MIME type: text/plain
File size: 902 byte(s)
Implement a test-server (maybe)
1 torben 110 // test-serverDlg.h : header file
2     //
3    
4     #pragma once
5    
6    
7     #include "ServerSocket.h"
8     #include "TerminalSocket.h"
9     #include "afxwin.h"
10    
11     // CtestserverDlg dialog
12     class CtestserverDlg : public CDialog, public sigslot::has_slots<>
13     {
14     // Construction
15     public:
16     CtestserverDlg(CWnd* pParent = NULL); // standard constructor
17    
18     // Dialog Data
19     enum { IDD = IDD_TESTSERVER_DIALOG };
20    
21     protected:
22     virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
23    
24    
25     // Implementation
26     protected:
27     HICON m_hIcon;
28    
29     ServerSocket m_server;
30     TerminalSocket m_worker;
31     // Generated message map functions
32     virtual BOOL OnInitDialog();
33     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
34     afx_msg void OnPaint();
35     afx_msg HCURSOR OnQueryDragIcon();
36     DECLARE_MESSAGE_MAP()
37     public:
38     void AcceptConnection(void);
39     void UpdateDisplay(void);
40     void WriteLine(CString msg);
41     CEdit m_edit;
42     };

  ViewVC Help
Powered by ViewVC 1.1.20