mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08: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
|