Page6.h
上传用户:heseme
上传日期:2009-12-23
资源大小:228k
文件大小:3k
开发平台:

Visual C++

  1. #if !defined(AFX_PAGE6_H__38E9E2E7_A409_11D4_8595_00D00912B25C__INCLUDED_)
  2. #define AFX_PAGE6_H__38E9E2E7_A409_11D4_8595_00D00912B25C__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Page6.h : header file
  7. #include"Struct.h"
  8. //
  9. #define INITIAL_END_SEGMENT 0x40 /* Initial file blank line as end of segment */
  10. #define REQUIRELOG 0x1
  11. #define ISLOGIP 0x2
  12. #define IPOPTIONS 0x3
  13. #define ISLOGPROTOCAL 0x4
  14. #define PROOPTIONS 0x8
  15. #define JL  0x13
  16. #define COMMENT 0x8000 /* Comment line */
  17. #define COMMAND_UNKNOWN 0x0 /* Unknown command */
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CPage6 dialog
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CPage6 dialog
  22. class CPage6 : public CPropertyPage
  23. {
  24. DECLARE_DYNCREATE(CPage6)
  25. // Construction
  26. public:
  27. void GetData();
  28. void ShowInitWindow();
  29. DWORD GetCommand(char *pbuf);
  30. void ReadCommand(FILE *pf, char *pbuf);
  31. DWORD GetDataFromFile();
  32. CPage6();
  33. ~CPage6();
  34. // Dialog Data
  35. //{{AFX_DATA(CPage6)
  36. enum { IDD = IDD_DIALOG7 };
  37. BOOL m_check_incommingdos;
  38. BOOL m_check_incommingport;
  39. BOOL m_check_incommingip;
  40. BOOL m_check_incommingtype;
  41. BOOL m_check_islog;
  42. BOOL m_check_logip;
  43. BOOL m_check_logipport;
  44. BOOL m_check_logkind;
  45. BOOL m_check_logtime;
  46. BOOL m_check_logurl;
  47. BOOL m_check_outgoingdos;
  48. BOOL m_check_outgoingip;
  49. BOOL m_check_outgoingport;
  50. BOOL m_check_outgoingtype;
  51. BOOL m_check_prolog;
  52. BOOL m_check_inbroad;
  53. BOOL m_check_inlength;
  54. BOOL m_check_inmore;
  55. BOOL m_check_inoffset;
  56. BOOL m_check_outbroad;
  57. BOOL m_check_outlength;
  58. BOOL m_check_outmore;
  59. BOOL m_check_outoffset;
  60. BOOL m_check_route;
  61. //}}AFX_DATA
  62. // Overrides
  63. // ClassWizard generate virtual function overrides
  64. //{{AFX_VIRTUAL(CPage6)
  65. public:
  66. virtual BOOL OnSetActive();
  67. protected:
  68. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  69. //}}AFX_VIRTUAL
  70. // Implementation
  71. protected:
  72. // Generated message map functions
  73. //{{AFX_MSG(CPage6)
  74. afx_msg void OnButtonOk();
  75. afx_msg void OnCHECKincommingDOS();
  76. afx_msg void OnCHECKincommingIP();
  77. afx_msg void OnCHECKincommingPort();
  78. afx_msg void OnCHECKincommingType();
  79. afx_msg void OnCheckIslog();
  80. afx_msg void OnCheckLogip();
  81. afx_msg void OnCheckLogipport();
  82. afx_msg void OnCheckLogkind();
  83. afx_msg void OnCheckLogtime();
  84. afx_msg void OnCheckLogurl();
  85. afx_msg void OnCHECKoutgoingDOS();
  86. afx_msg void OnCHECKoutgoingIP();
  87. afx_msg void OnCHECKoutgoingPort();
  88. afx_msg void OnCHECKoutgoingType();
  89. afx_msg void OnCheckProlog();
  90. virtual BOOL OnInitDialog();
  91. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  92. afx_msg void OnCHECKInBroad();
  93. afx_msg void OnCHECKOutBroad();
  94. afx_msg void OnCHECKInLength();
  95. afx_msg void OnCHECKOutLength();
  96. afx_msg void OnCHECKInOffset();
  97. afx_msg void OnCHECKOutOffset();
  98. afx_msg void OnCHECKInMore();
  99. afx_msg void OnCHECKOutMore();
  100. afx_msg void OnCheckSorceRoute();
  101. //}}AFX_MSG
  102. DECLARE_MESSAGE_MAP()
  103. };
  104. //{{AFX_INSERT_LOCATION}}
  105. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  106. #endif // !defined(AFX_PAGE6_H__38E9E2E7_A409_11D4_8595_00D00912B25C__INCLUDED_)