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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 112 - (show annotations) (download)
Mon May 28 16:28:03 2007 UTC (16 years, 11 months ago) by torben
File MIME type: text/plain
File size: 941 byte(s)
Now we have a working test-server...
1 // 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 protected:
43 virtual void OnCancel();
44 };

  ViewVC Help
Powered by ViewVC 1.1.20