SecurityPage.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. protected:
  28. void UpdateSecurityData(int nType);
  29. // Generated message map functions
  30. //{{AFX_MSG(CSecurityPage)
  31. virtual BOOL OnInitDialog();
  32. afx_msg void OnBlockAll();
  33. afx_msg void OnDestroy();
  34. afx_msg void OnAddBlock();
  35. afx_msg void OnEditBlock();
  36. afx_msg void OnAddNonblock();
  37. afx_msg void OnEditNonblock();
  38. afx_msg void OnRemoveBlock();
  39. afx_msg void OnRemoveNonblock();
  40. afx_msg void OnDblclkBlockedlist();
  41. afx_msg void OnDblclkNonblockedlist();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. DECLARE_DLGRESIZE_MAP;
  45. };
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_SECURITYPAGE_H__898CB245_9C3E_4693_8555_20DBC1664830__INCLUDED_)