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.

56 lines
1.6 KiB

  1. // SplitPaneResultsView.h: interface for the CSplitPaneResultsView class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SPLITPANERESULTSVIEW_H__C3035FC4_B0BE_11D2_BD6C_0000F87A3912__INCLUDED_)
  5. #define AFX_SPLITPANERESULTSVIEW_H__C3035FC4_B0BE_11D2_BD6C_0000F87A3912__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ResultsPaneView.h"
  10. #include "HMRuleStatus.h"
  11. class CHealthmonResultsPane;
  12. class CStatistics;
  13. class _DHMGraphView;
  14. class CEventContainer;
  15. class CSplitPaneResultsView : public CResultsPaneView
  16. {
  17. DECLARE_DYNCREATE(CSplitPaneResultsView)
  18. // Construction/Destruction
  19. public:
  20. CSplitPaneResultsView();
  21. virtual ~CSplitPaneResultsView();
  22. // Create/Destroy
  23. public:
  24. virtual bool Create(CScopePaneItem* pOwnerItem);
  25. // Results Pane Item Members
  26. public:
  27. virtual void RemoveItem(int iIndex);
  28. // MMC Notify Handlers
  29. public:
  30. virtual HRESULT OnGetResultViewType(CString& sViewType,long& lViewOptions);
  31. virtual HRESULT OnShow(CResultsPane* pPane, BOOL bSelecting, HSCOPEITEM hScopeItem);
  32. // Eventing and Statistics Members
  33. public:
  34. virtual void AddStatistic(CEventContainer* pContainer, CStatistics* pStatistic, bool bUpdateGraph=true);
  35. protected:
  36. HRESULT AddEvents(CHealthmonResultsPane* pPane);
  37. virtual HRESULT AddStatistics(CHealthmonResultsPane* pPane);
  38. virtual HRESULT RemoveStatistics(CHealthmonResultsPane* pPane);
  39. // GraphView Events Members
  40. public:
  41. virtual void OnGraphViewStyleChange(_DHMGraphView* pGraphView);
  42. };
  43. #endif // !defined(AFX_SPLITPANERESULTSVIEW_H__C3035FC4_B0BE_11D2_BD6C_0000F87A3912__INCLUDED_)