commsocket.h

来自「远程串口通信程序」· C头文件 代码 · 共 49 行

H
49
字号
#if !defined(AFX_COMMSOCKET_H__16C304B6_B7B2_11D4_9AAD_0050BF00F589__INCLUDED_)
#define AFX_COMMSOCKET_H__16C304B6_B7B2_11D4_9AAD_0050BF00F589__INCLUDED_

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

class CDyRasView;

/////////////////////////////////////////////////////////////////////////////
// CCommSocket command target

class CCommSocket : public CSocket
{
// Attributes
public:

// Operations
public:
	CCommSocket(CDyRasView* pView);
	virtual ~CCommSocket();
// Overrides
public:
	CDyRasView* m_pView;
	CString m_strText;
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCommSocket)
	public:
	virtual void OnReceive(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CCommSocket)
		// 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_COMMSOCKET_H__16C304B6_B7B2_11D4_9AAD_0050BF00F589__INCLUDED_)

⌨️ 快捷键说明

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