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


#if !defined(AFX_CONTENTVIEW_H__9B4CC3E9_8232_43C0_A521_7F4588287CF6__INCLUDED_) 
#define AFX_CONTENTVIEW_H__9B4CC3E9_8232_43C0_A521_7F4588287CF6__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ContentView.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CContentView view 
 
class CContentView : public CListView 
{ 
protected: 
	CContentView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CContentView) 
 
// Attributes 
public: 
	unsigned char *buf; 
	unsigned int buflen; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CContentView) 
	public: 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CContentView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CContentView) 
	afx_msg void OnPacketSelect(const struct pcap_pkthdr *pkt_header,const u_char *pkt_data); 
	afx_msg void OnPacketSpecify(unsigned int start,unsigned int len); 
	afx_msg void OnPacketReassembly(); 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CONTENTVIEW_H__9B4CC3E9_8232_43C0_A521_7F4588287CF6__INCLUDED_)