listening.h

来自「这是有关使用VC进行实例开发的书籍」· C头文件 代码 · 共 50 行

H
50
字号
#if !defined(AFX_LISTENING_H__7B5384D3_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_)
#define AFX_LISTENING_H__7B5384D3_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Listening.h : header file
//

class CNServerDlg;


/////////////////////////////////////////////////////////////////////////////
// Listening command target

class CListening : public CSocket
{
// Attributes
public:

// Operations
public:
	//Listening();
	CListening(CNServerDlg *m_pDlg);
	CNServerDlg *m_Dlg;
	virtual ~CListening();
	virtual void OnAccept( int nErrorCode );

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Listening)
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(Listening)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LISTENING_H__7B5384D3_5F80_11D3_9E07_00A0C9395AB0__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?