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.

114 lines
2.4 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. PrHsmCom.cpp
  5. Abstract:
  6. Implements all the property page interface to the individual nodes,
  7. including creating the property page, and adding it to the property sheet.
  8. Author:
  9. Rohde Wakefield [rohde] 08-Aug-1997
  10. Revision History:
  11. --*/
  12. #ifndef _PROPHSMCOM_H
  13. #define _PROPHSMCOM_H
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CRsWebLink window
  16. class CRsWebLink : public CStatic
  17. {
  18. // Construction
  19. public:
  20. CRsWebLink();
  21. // Attributes
  22. public:
  23. CFont m_Font;
  24. // Operations
  25. public:
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CRsWebLink)
  29. protected:
  30. virtual void PreSubclassWindow();
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. public:
  34. virtual ~CRsWebLink();
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CRsWebLink)
  38. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  39. afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. private:
  43. HRESULT OpenURL( CString& Url );
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. /////////////////////////////////////////////////////////////////////////////
  47. // CPropHsmComStat dialog
  48. class CPropHsmComStat : public CSakPropertyPage
  49. {
  50. // Construction
  51. public:
  52. CPropHsmComStat();
  53. ~CPropHsmComStat();
  54. // Dialog Data
  55. //{{AFX_DATA(CPropHsmComStat)
  56. enum { IDD = IDD_PROP_HSMCOM_STAT };
  57. //}}AFX_DATA
  58. // Overrides
  59. // ClassWizard generate virtual function overrides
  60. //{{AFX_VIRTUAL(CPropHsmComStat)
  61. public:
  62. virtual BOOL OnApply();
  63. protected:
  64. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  65. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  66. //}}AFX_VIRTUAL
  67. // Implementation
  68. protected:
  69. // Generated message map functions
  70. //{{AFX_MSG(CPropHsmComStat)
  71. virtual BOOL OnInitDialog();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. public:
  75. CString m_NodeTitle;
  76. private:
  77. BOOL m_bUpdate;
  78. CWsbStringPtr m_pszName;
  79. // Helper functions
  80. HRESULT GetAndShowServiceStatus();
  81. };
  82. /////////////////////////////////////////////////////////////////////////////
  83. #endif