aboutsummaryrefslogtreecommitdiff
path: root/mp/src/common/replay/irecordingsessionmanager.h
blob: 23cdf65099f5d01d44b53c486ebab69023bb0c94 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//

#ifndef IRECORDINGSESSIONMANAGER_H
#define IRECORDINGSESSIONMANAGER_H
#ifdef _WIN32
#pragma once
#endif

//----------------------------------------------------------------------------------------

#include "interface.h"
#include "replay/replayhandle.h"

//----------------------------------------------------------------------------------------

class CBaseRecordingSession;

//----------------------------------------------------------------------------------------

class IRecordingSessionManager : public IBaseInterface
{
public:
	virtual CBaseRecordingSession	*FindSession( ReplayHandle_t hSession ) = 0;
	virtual const CBaseRecordingSession	*FindSession( ReplayHandle_t hSession ) const = 0;
	virtual void					FlagSessionForFlush( CBaseRecordingSession *pSession, bool bForceImmediate ) = 0;
	virtual int						GetServerStartTickForSession( ReplayHandle_t hSession ) = 0;
};

//----------------------------------------------------------------------------------------

#endif // IRECORDINGSESSIONMANAGER_H