www.pudn.com > DrvFltIp_source.zip > testDrvDlg.h
// testDrvDlg.h : header file
//
#if !defined(AFX_TESTDRVDLG_H__2D07DEFD_881A_403F_A41E_BE93D2E3CBE9__INCLUDED_)
#define AFX_TESTDRVDLG_H__2D07DEFD_881A_403F_A41E_BE93D2E3CBE9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TDriver.h"
#include "..\DrvFltIp.h"
/////////////////////////////////////////////////////////////////////////////
// CTestDrvDlg dialog
class CTestDrvDlg : public CDialog
{
// Construction
public:
CTestDrvDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTestDrvDlg)
enum { IDD = IDD_TESTDRV_DIALOG };
CButton m_bStop;
CButton m_bStart;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestDrvDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
TDriver filterDriver;
TDriver ipFltDrv;
BOOL CTestDrvDlg::AddFilter(IPFilter pf);
// Generated message map functions
//{{AFX_MSG(CTestDrvDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnStart();
afx_msg void OnStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTDRVDLG_H__2D07DEFD_881A_403F_A41E_BE93D2E3CBE9__INCLUDED_)