RuleDlg.h
上传用户:wlquartz
上传日期:2022-03-04
资源大小:89k
文件大小:1k
开发平台:

Visual C++

  1. #if !defined(AFX_RULEDLG_H__C9161D68_7C56_47A7_8D2C_3A700665F7FE__INCLUDED_)
  2. #define AFX_RULEDLG_H__C9161D68_7C56_47A7_8D2C_3A700665F7FE__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RuleDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CRuleDlg dialog
  10. class CRuleDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CRuleDlg(CWnd* pParent = NULL);   // standard constructor
  15. unsigned long srcIp;
  16. unsigned long srcMask;
  17. unsigned short srcPort;
  18. unsigned long dstIp;
  19. unsigned long dstMask;
  20. unsigned short dstPort;
  21. unsigned int protocol;
  22. int cAction;
  23. // Dialog Data
  24. //{{AFX_DATA(CRuleDlg)
  25. enum { IDD = IDD_ADDRULEDLG };
  26. CString m_ipsource;
  27. UINT m_portsource;
  28. CString m_ipdestination;
  29. UINT m_portDestination;
  30. CString m_action;
  31. CString m_protocol;
  32. CString m_srcMask;
  33. CString m_dstMask;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CRuleDlg)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CRuleDlg)
  45. virtual void OnOK();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_RULEDLG_H__C9161D68_7C56_47A7_8D2C_3A700665F7FE__INCLUDED_)