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.

30 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IRECORDINGSESSIONBLOCKMANAGER_H
  5. #define IRECORDINGSESSIONBLOCKMANAGER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. #include "replay/replayhandle.h"
  12. //----------------------------------------------------------------------------------------
  13. class IRecordingSessionBlockManager : public IBaseInterface
  14. {
  15. public:
  16. virtual CBaseRecordingSessionBlock *GetBlock( ReplayHandle_t hBlock ) = 0;
  17. virtual void DeleteBlock( CBaseRecordingSessionBlock *pBlock ) = 0;
  18. virtual void UnloadBlock( CBaseRecordingSessionBlock *pBlock ) = 0;
  19. virtual const char *GetBlockPath() const = 0;
  20. virtual void LoadBlockFromFileName( const char *pFilename, IRecordingSession *pSession ) = 0;
  21. };
  22. //----------------------------------------------------------------------------------------
  23. #endif // IRECORDINGSESSIONBLOCKMANAGER_H