source-engine/replay/sv_recordingsessionblockmanager.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

37 lines
1.1 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#ifndef SV_RECORDINGSESSIONBLOCKMANAGER_H
#define SV_RECORDINGSESSIONBLOCKMANAGER_H
#ifdef _WIN32
#pragma once
#endif
//----------------------------------------------------------------------------------------
#include "baserecordingsessionblockmanager.h"
//----------------------------------------------------------------------------------------
//
// Maintains a persistent list of session blocks in a keyvalues file
//
class CServerRecordingSessionBlockManager : public CBaseRecordingSessionBlockManager
{
typedef CBaseRecordingSessionBlockManager BaseClass;
public:
CServerRecordingSessionBlockManager( IReplayContext *pContext );
virtual CBaseRecordingSessionBlock *Create();
virtual IReplayContext *GetReplayContext() const;
private:
virtual bool ShouldLoadBlocks() const { return false; }
virtual void PreLoad();
};
//----------------------------------------------------------------------------------------
#endif // SV_RECORDINGSESSIONBLOCKMANAGER_H