Team Fortress 2 Source Code as on 22/4/2020
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.

44 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef REPLAYPERFORMANCEMANAGER_H
  5. #define REPLAYPERFORMANCEMANAGER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "replay/ireplayperformancemanager.h"
  11. #include "replay/performance.h"
  12. //----------------------------------------------------------------------------------------
  13. class KeyValues;
  14. class CReplay;
  15. class IReplayPerformancePlaybackController;
  16. //----------------------------------------------------------------------------------------
  17. class CReplayPerformanceManager : public IReplayPerformanceManager
  18. {
  19. public:
  20. CReplayPerformanceManager();
  21. ~CReplayPerformanceManager();
  22. void Init();
  23. //
  24. // IReplayPerformanceManager
  25. //
  26. virtual const char *GetRelativePath() const;
  27. virtual const char *GetFullPath() const;
  28. virtual CReplayPerformance *CreatePerformance( CReplay *pReplay );
  29. virtual void DeletePerformance( CReplayPerformance *pPerformance );
  30. virtual const char *GeneratePerformanceFilename( CReplay *pReplay );
  31. };
  32. //----------------------------------------------------------------------------------------
  33. #endif // REPLAYPERFORMANCEMANAGER_H