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.

52 lines
1.3 KiB

  1. // Statistics.h: interface for the CStatistics class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_STATISTICS_H__5D41A1E3_8CD9_11D3_93A4_00A0CC406605__INCLUDED_)
  5. #define AFX_STATISTICS_H__5D41A1E3_8CD9_11D3_93A4_00A0CC406605__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "HMEventResultsPaneItem.h"
  10. #include "HMGraphView.h"
  11. class CStatistics : public CObject
  12. {
  13. DECLARE_DYNCREATE(CStatistics)
  14. // Construction/Destruction
  15. public:
  16. CStatistics();
  17. virtual ~CStatistics();
  18. // Time Members
  19. public:
  20. CString GetStatLocalTime();
  21. SYSTEMTIME m_st;
  22. // Result Pane Item Members
  23. public:
  24. virtual CHMEventResultsPaneItem* CreateResultsPaneItem(CResultsPaneView* pView) { ASSERT(pView);ASSERT(FALSE); return NULL; }
  25. virtual void SetResultsPaneItem(CHMEventResultsPaneItem* pItem) { ASSERT(pItem);ASSERT(FALSE); }
  26. // Graph Members
  27. public:
  28. virtual void UpdateGraph(_DHMGraphView* pGraphView) { if( !pGraphView )ASSERT(FALSE); ASSERT(FALSE); }
  29. // Comparison
  30. public:
  31. virtual int CompareTo(CStatistics* pStat);
  32. // Copy
  33. public:
  34. virtual CStatistics* Copy() { ASSERT(FALSE); return NULL; }
  35. };
  36. typedef CTypedPtrArray<CObArray,CStatistics*> StatsArray;
  37. #include "Statistics.inl"
  38. #endif // !defined(AFX_STATISTICS_H__5D41A1E3_8CD9_11D3_93A4_00A0CC406605__INCLUDED_)