www.pudn.com > CraftFTP_gb.rar > DataChannel.h


#if !defined(AFX_DATACHANNEL_H__C5C0BDB0_1D3E_4CDE_8228_6D27FF813AAE__INCLUDED_) 
#define AFX_DATACHANNEL_H__C5C0BDB0_1D3E_4CDE_8228_6D27FF813AAE__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DataChannel.h : header file 
// 
 
#include "ProxySocket.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CDataChannel command target 
 
class CMainFrame; 
class CDataChannel : public CProxySocket 
{ 
// Attributes 
public: 
 
// Operations 
public: 
	CDataChannel(CMainFrame	* pMainFrame); 
	virtual ~CDataChannel(); 
 
// Overrides 
public: 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDataChannel) 
	public: 
	virtual void OnResolve(int nErrorCode); 
	virtual void OnConnect(int nErrorCode); 
	virtual void OnReceive(int nErrorCode); 
	virtual void OnClose(int nErrorCode); 
	virtual void OnSend(int nErrorCode); 
	virtual void OnProxyOperationFailed(int nOpID); 
	virtual void OnListenFinished(unsigned long &retProxyIp,int &retProxyPort); 
	//}}AFX_VIRTUAL 
 
	// Generated message map functions 
	//{{AFX_MSG(CDataChannel) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
 
// Implementation 
protected: 
	CMainFrame	*	m_pMainFrame; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DATACHANNEL_H__C5C0BDB0_1D3E_4CDE_8228_6D27FF813AAE__INCLUDED_)