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.

45 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef RECORDINGSESSIONBLOCKMANAGER_H
  5. #define RECORDINGSESSIONBLOCKMANAGER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "baserecordingsessionblockmanager.h"
  11. //----------------------------------------------------------------------------------------
  12. class CClientRecordingSessionBlockManager : public CBaseRecordingSessionBlockManager
  13. {
  14. typedef CBaseRecordingSessionBlockManager BaseClass;
  15. public:
  16. CClientRecordingSessionBlockManager( IReplayContext *pContext );
  17. //
  18. // CGenericPersistentManager
  19. //
  20. virtual CBaseRecordingSessionBlock *Create();
  21. private:
  22. //
  23. // CGenericPersistentManager
  24. //
  25. virtual IReplayContext *GetReplayContext() const;
  26. //
  27. // CBaseThinker
  28. //
  29. virtual float GetNextThinkTime() const;
  30. virtual void Think();
  31. virtual bool ShouldLoadBlocks() const { return false; }
  32. };
  33. //----------------------------------------------------------------------------------------
  34. #endif // RECORDINGSESSIONBLOCKMANAGER_H