SecurityPage.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #if !defined(AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_)
  2. #define AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. #include "DialogResize.h"
  7. class CSecurityPage : public CDialogResize
  8. {
  9. // Construction
  10. public:
  11. void AddIPToBlockList(LPCTSTR lpszIP);
  12. CSecurityPage(CWnd* pParent = NULL); // standard constructor
  13. // Dialog Data
  14. //{{AFX_DATA(CSecurityPage)
  15. enum { IDD = IDD_PROPPAGE_SECURITY };
  16. CListBox m_BlockedList;
  17. CListBox m_NonBlockedList;
  18. BOOL m_bBlockAll;
  19. //}}AFX_DATA
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CSecurityPage)
  23. public:
  24. virtual BOOL PreTranslateMessage(MSG* pMsg);
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. void UpdateSecurityData(int nType);
  31. // Generated message map functions
  32. //{{AFX_MSG(CSecurityPage)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnBlockAll();
  35. afx_msg void OnDestroy();
  36. afx_msg void OnAddBlock();
  37. afx_msg void OnEditBlock();
  38. afx_msg void OnAddNonblock();
  39. afx_msg void OnEditNonblock();
  40. afx_msg void OnRemoveBlock();
  41. afx_msg void OnRemoveNonblock();
  42. afx_msg void OnDblclkBlockedlist();
  43. afx_msg void OnDblclkNonblockedlist();
  44. afx_msg void OnButton1();
  45. afx_msg void OnButton4();
  46. afx_msg void OnButton5();
  47. afx_msg void OnView();
  48. afx_msg void OnButton6();
  49. afx_msg void OnButton7();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. DECLARE_DLGRESIZE_MAP;
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_)