www.pudn.com > SnifferPro.rar > StcView.h


#if !defined(AFX_STCVIEW_H__3BFE4C75_C5B0_43AB_9D98_614ABF608E4D__INCLUDED_) 
#define AFX_STCVIEW_H__3BFE4C75_C5B0_43AB_9D98_614ABF608E4D__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// StcView.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CStcView form view 
#include "MyListCtrl.h" 
#ifndef __AFXEXT_H__ 
#include  
#endif 
 
class CStcView : public CFormView 
{ 
protected: 
	CStcView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CStcView) 
 
// Form Data 
public: 
	//{{AFX_DATA(CStcView) 
	//enum { IDD = IDD_FORM_STC }; 
	enum { IDD = 101 }; 
	CMyListCtrl	m_list; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	unsigned char *buf;//缓冲区 
	unsigned int buflen;//缓冲区大小 
	BOOL isReassembly;//是否处于重组状态 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CStcView) 
	public: 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
//	void OnPacketReassembly(); 
	virtual ~CStcView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
	//{{AFX_MSG(CStcView) 
	afx_msg void OnPacketSelect(const struct pcap_pkthdr *pkt_header,const u_char *pkt_data); 
	afx_msg void OnPacketSpecify(int start,int len); 
	afx_msg void OnFileReassembly(); 
	afx_msg void OnUpdateFileReassembly(CCmdUI* pCmdUI); 
	afx_msg void OnPacketReassembly(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_STCVIEW_H__3BFE4C75_C5B0_43AB_9D98_614ABF608E4D__INCLUDED_)