fprotocol.h

来自「This article describes a sniffer for Win」· C头文件 代码 · 共 71 行

H
71
字号
//////////////////////////////////////////////////////////////////////////////
//
//   WinSniff 1.1
//   The sniffing tool for windows.
//
//   Author  : Nagareshwar Y Talekar.
//	 Contact : nsry2002@yahoo.co.in
//	 Date    : 15-6-2004.
//
//   Name :  FProtocol.h
//   Description :  Dialog class for filtering packets by protocol.
//
//////////////////////////////////////////////////////////////////////////////


#if !defined(AFX_FPROTOCOL_H__B58B0381_5D58_11D6_888C_000B2B0F84B6__INCLUDED_)
#define AFX_FPROTOCOL_H__B58B0381_5D58_11D6_888C_000B2B0F84B6__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// FProtocol dialog

class FProtocol : public CDialog
{
// Construction
public:
	BOOL IsEnable,IsFirst;
	CButton *check;
	CComboBox *plist;
	CString protocol;
	int selindex;

	FProtocol(CWnd* pParent = NULL);   // standard constructor
	void OnCheck();
	BOOL OnInitDialog();

// Dialog Data
	//{{AFX_DATA(FProtocol)
	enum { IDD = IDD_FILTER_PROTOCOL };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(FProtocol)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(FProtocol)
	virtual void OnOK();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FPROTOCOL_H__B58B0381_5D58_11D6_888C_000B2B0F84B6__INCLUDED_)

⌨️ 快捷键说明

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