blob: f7e7e35276c5bad1ca1b55db314f14adfe790781 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//========= 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
|