Leaked source code of windows server 2003
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.

83 lines
2.7 KiB

  1. //+---------------------------------------------------------------------------
  2. /////////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Microsoft Windows
  5. // Copyright (C) Microsoft Corporation, 2000-2001.
  6. //
  7. // File: SaferLevelGeneral.h
  8. //
  9. // Contents: Declaration of CSaferLevelGeneral
  10. //
  11. //----------------------------------------------------------------------------
  12. #if !defined(AFX_SAFERLEVELGENERAL_H__C8398890_ED8E_40E1_AEE6_91BFD32257B1__INCLUDED_)
  13. #define AFX_SAFERLEVELGENERAL_H__C8398890_ED8E_40E1_AEE6_91BFD32257B1__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. #include "SaferLevel.h"
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CSaferLevelGeneral dialog
  20. class CCertMgrComponentData; //forward declaration
  21. class CSaferLevelGeneral : public CHelpPropertyPage
  22. {
  23. // Construction
  24. public:
  25. CSaferLevelGeneral (
  26. CSaferLevel& rSaferLevel,
  27. bool bReadOnly,
  28. LONG_PTR lNotifyHandle,
  29. LPDATAOBJECT pDataObject,
  30. DWORD dwDefaultSaferLevel,
  31. CCertMgrComponentData* pCompData);
  32. ~CSaferLevelGeneral();
  33. // Dialog Data
  34. //{{AFX_DATA(CSaferLevelGeneral)
  35. enum { IDD = IDD_SAFER_LEVEL_GENERAL };
  36. // NOTE - ClassWizard will add data members here.
  37. // DO NOT EDIT what you see in these blocks of generated code !
  38. //}}AFX_DATA
  39. // Overrides
  40. // ClassWizard generate virtual function overrides
  41. //{{AFX_VIRTUAL(CSaferLevelGeneral)
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. // Generated message map functions
  49. //{{AFX_MSG(CSaferLevelGeneral)
  50. virtual BOOL OnInitDialog();
  51. afx_msg void OnSaferLevelSetAsDefault();
  52. afx_msg void OnSetfocusSaferLevelDescription();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. virtual void DoContextHelp (HWND hWndControl);
  56. virtual BOOL OnApply();
  57. private:
  58. CSaferLevel& m_rSaferLevel;
  59. const bool m_bReadOnly;
  60. bool m_bSetAsDefault;
  61. LONG_PTR m_lNotifyHandle;
  62. bool m_bDirty;
  63. LPDATAOBJECT m_pDataObject;
  64. DWORD m_dwDefaultSaferLevel;
  65. bool m_bFirst;
  66. bool m_bLevelChanged;
  67. CCertMgrComponentData* m_pCompData;
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_SAFERLEVELGENERAL_H__C8398890_ED8E_40E1_AEE6_91BFD32257B1__INCLUDED_)