Source code of Windows XP (NT5)
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.

65 lines
1.5 KiB

  1. // HealthmonScopePane.h: interface for the CHealthmonScopePane class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_HEALTHMONSCOPEPANE_H__307235A7_AA50_11D2_BD61_0000F87A3912__INCLUDED_)
  5. #define AFX_HEALTHMONSCOPEPANE_H__307235A7_AA50_11D2_BD61_0000F87A3912__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ScopePane.h"
  10. class CAllSystemsScopeItem;
  11. class CSystemGroup;
  12. class CSystem;
  13. class CHealthmonScopePane : public CScopePane
  14. {
  15. DECLARE_DYNCREATE(CHealthmonScopePane)
  16. // Construction/Destruction
  17. public:
  18. CHealthmonScopePane();
  19. virtual ~CHealthmonScopePane();
  20. // Creation/Destruction Overrideable Members
  21. protected:
  22. virtual bool OnCreate();
  23. virtual LPCOMPONENT OnCreateComponent();
  24. virtual bool OnDestroy();
  25. // Root Scope Pane Item Members
  26. public:
  27. virtual CScopePaneItem* CreateRootScopeItem();
  28. // Root Group Members
  29. public:
  30. CSystemGroup* GetRootGroup() { return m_pRootGroup; }
  31. protected:
  32. CSystemGroup* m_pRootGroup;
  33. // Healthmon Scope Helper Members
  34. public:
  35. CAllSystemsScopeItem* GetAllSystemsScopeItem();
  36. CSystemGroup* GetAllSystemsGroup();
  37. CSystem* GetSystem(const CString& sName);
  38. // Serialization
  39. public:
  40. virtual bool OnLoad(CArchive& ar);
  41. virtual bool OnSave(CArchive& ar);
  42. // Parse Command Line
  43. public:
  44. bool ParseCommandLine(CStringArray& saSystems);
  45. // MFC Implementation
  46. protected:
  47. DECLARE_OLECREATE_EX(CHealthmonScopePane)
  48. };
  49. #endif // !defined(AFX_HEALTHMONSCOPEPANE_H__307235A7_AA50_11D2_BD61_0000F87A3912__INCLUDED_)