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.

32 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IRECORDINGSESSIONMANAGER_H
  5. #define IRECORDINGSESSIONMANAGER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. #include "replay/replayhandle.h"
  12. //----------------------------------------------------------------------------------------
  13. class CBaseRecordingSession;
  14. //----------------------------------------------------------------------------------------
  15. class IRecordingSessionManager : public IBaseInterface
  16. {
  17. public:
  18. virtual CBaseRecordingSession *FindSession( ReplayHandle_t hSession ) = 0;
  19. virtual const CBaseRecordingSession *FindSession( ReplayHandle_t hSession ) const = 0;
  20. virtual void FlagSessionForFlush( CBaseRecordingSession *pSession, bool bForceImmediate ) = 0;
  21. virtual int GetServerStartTickForSession( ReplayHandle_t hSession ) = 0;
  22. };
  23. //----------------------------------------------------------------------------------------
  24. #endif // IRECORDINGSESSIONMANAGER_H