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.

92 lines
2.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: svfltdlg.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // SvFltDlg.h : header file
  11. //
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CServiceFltDlg dialog
  14. class CServiceFltDlg : public CBaseDialog
  15. {
  16. // Construction
  17. public:
  18. CServiceFltDlg(BOOL bOutputDlg, IInfoBase *pInfoBase, CWnd* pParent = NULL); // standard constructor
  19. // Dialog Data
  20. //{{AFX_DATA(CServiceFltDlg)
  21. enum {
  22. IDD_INPUT = IDD_SERVICE_FILTERS_INPUT,
  23. IDD_OUTPUT = IDD_SERVICE_FILTERS_OUTPUT};
  24. CListCtrl m_FilterList;
  25. BOOL m_fActionDeny; // TRUE == deny, FALSE == permit
  26. //}}AFX_DATA
  27. SPIInfoBase m_spInfoBase;
  28. CString m_sIfName;
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CServiceFltDlg)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. static DWORD m_dwHelpMap[];
  38. BOOL m_bOutput;
  39. // Generated message map functions
  40. //{{AFX_MSG(CServiceFltDlg)
  41. virtual BOOL OnInitDialog();
  42. afx_msg void OnAdd();
  43. afx_msg void OnDelete();
  44. afx_msg void OnEdit();
  45. virtual void OnOK();
  46. afx_msg void OnItemchangedFilterList(NMHDR* pNMHDR, LRESULT* pResult);
  47. afx_msg void OnListDblClk(NMHDR *pNmHdr, LRESULT *pResult);
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. /////////////////////////////////////////////////////////////////////////////
  52. // CServiceFilter dialog
  53. class CServiceFilter : public CBaseDialog
  54. {
  55. // Construction
  56. public:
  57. CServiceFilter(CWnd* pParent = NULL); // standard constructor
  58. // Dialog Data
  59. //{{AFX_DATA(CServiceFilter)
  60. enum { IDD = IDD_SERVICE_FILTER };
  61. CString m_sIfName;
  62. CString m_sType;
  63. CString m_sName;
  64. //}}AFX_DATA
  65. // Overrides
  66. // ClassWizard generated virtual function overrides
  67. //{{AFX_VIRTUAL(CServiceFilter)
  68. protected:
  69. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  70. //}}AFX_VIRTUAL
  71. // Implementation
  72. protected:
  73. static DWORD m_dwHelpMap[];
  74. // Generated message map functions
  75. //{{AFX_MSG(CServiceFilter)
  76. //}}AFX_MSG
  77. DECLARE_MESSAGE_MAP()
  78. };