55 lines
1.0 KiB
C
55 lines
1.0 KiB
C
|
//
|
|||
|
// <20>l<EFBFBD>b<EFBFBD>g<EFBFBD>v<EFBFBD><76><EFBFBD>C<EFBFBD>_<EFBFBD>C<EFBFBD>A<EFBFBD><41><EFBFBD>O<EFBFBD>N<EFBFBD><4E><EFBFBD>X
|
|||
|
//
|
|||
|
#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__
|
|||
|
|