mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
//========= 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
|