Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.6 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. dlgfilt.h
  7. Definition for Dialog class ( for IDD = IDD_PACKETFILTERING )
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_DLGFILT_H__8C28D941_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)
  11. #define AFX_DLGFILT_H__8C28D941_2A69_11D1_853E_00C04FC31FD3__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. // DlgFilt.h : header file
  16. //
  17. #include "helper.h"
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CDlgFilter dialog
  20. class CDlgFilter : public CDialog
  21. {
  22. // Construction
  23. public:
  24. CDlgFilter(CStrArray& Filters, CWnd* pParent = NULL); // standard constructor
  25. virtual ~CDlgFilter();
  26. // Dialog Data
  27. //{{AFX_DATA(CDlgFilter)
  28. enum { IDD = IDD_PACKETFILTERING };
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CDlgFilter)
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CDlgFilter)
  38. virtual BOOL OnInitDialog();
  39. afx_msg void OnButtondelete();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. CStrArray& m_Filters; // the name of filters
  43. CStrBox<CListBox>* m_pBox; // to wrap the ListBox on the dialog
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_DLGFILT_H__8C28D941_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)