msnsocket.h

来自「VideoMan is a very easy image acquisitio」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_MSNSOCKET_H__9B0CDAEF_1107_4BCA_9F0E_6EFED358A538__INCLUDED_)
#define AFX_MSNSOCKET_H__9B0CDAEF_1107_4BCA_9F0E_6EFED358A538__INCLUDED_

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

class CMsnLoginClient;

/////////////////////////////////////////////////////////////////////////////
// CMsnSocket command target

class CMsnSocket : public CSocket
{
// Attributes
public:

// Operations
public:
	CMsnSocket();
	CMsnSocket(CMsnLoginClient* pClient);
	virtual ~CMsnSocket();

// Overrides
public:
 
	CSocketFile* m_pFile;
	CArchive* m_pArchiveIn;
	CArchive* m_pArchiveOut;
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMsnSocket)
	public:
	virtual void OnReceive(int nErrorCode);
	virtual int Send(const void* lpBuf, int nBufLen, int nFlags = 0);
	virtual void OnClose(int nErrorCode);
	//}}AFX_VIRTUAL

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

// Implementation
protected:
	CMsnLoginClient* m_pClient;
};

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

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

#endif // !defined(AFX_MSNSOCKET_H__9B0CDAEF_1107_4BCA_9F0E_6EFED358A538__INCLUDED_)

⌨️ 快捷键说明

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