AxibugEmuOnline/References/virtuanessrc097-master/NetPlayDlg.h
2024-08-05 17:58:53 +08:00

55 lines
2.1 KiB
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// ネットプレイダイアログクラス
//
#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__