-
Notifications
You must be signed in to change notification settings - Fork 17
/
NetPlayDlg.h
54 lines (40 loc) · 1.06 KB
/
NetPlayDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// ネットプレイダイアログクラス
//
#ifndef __CNETPLAYDLG_INCLUDED__
#define __CNETPLAYDLG_INCLUDED__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <mmsystem.h>
#include <string>
using namespace std;
#include "Wnd.h"
class CNetPlayDlg : public CWnd
{
public:
// Override from CWnd
INT DoModal( HWND hWndParent );
protected:
void SetStatusMessage( UINT uID );
void SetControlEnable( BOOL bEnable );
void AddRecentPort( LPCSTR lpszPort );
void AddRecentHost( LPCSTR lpszPort );
// Message map
DLG_MESSAGE_MAP()
DLGMSG OnInitDialog( DLGMSGPARAM );
DLGMSG OnNetwordHostByName( DLGMSGPARAM );
DLGMSG OnNetworkAccept( DLGMSGPARAM );
DLGMSG OnNetworkConnect( DLGMSGPARAM );
DLGMSG OnNetworkClose( DLGMSGPARAM );
DLGMSG OnNetworkError( DLGMSGPARAM );
DLGCMD OnServer( DLGCMDPARAM );
DLGCMD OnClient( DLGCMDPARAM );
DLGCMD OnConnect( DLGCMDPARAM );
DLGCMD OnCancel( DLGCMDPARAM );
//
HWND m_hWndParent;
UINT m_uPort;
INT m_nNetLatency;
private:
};
#endif // !__CNETPLAYDLG_INCLUDED__