mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
//=======================================================================================//
|
||
|
|
||
|
#ifndef REPLAYPERFORMANCEMANAGER_H
|
||
|
#define REPLAYPERFORMANCEMANAGER_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
//----------------------------------------------------------------------------------------
|
||
|
|
||
|
#include "replay/ireplayperformancemanager.h"
|
||
|
#include "replay/performance.h"
|
||
|
|
||
|
//----------------------------------------------------------------------------------------
|
||
|
|
||
|
class KeyValues;
|
||
|
class CReplay;
|
||
|
class IReplayPerformancePlaybackController;
|
||
|
|
||
|
//----------------------------------------------------------------------------------------
|
||
|
|
||
|
class CReplayPerformanceManager : public IReplayPerformanceManager
|
||
|
{
|
||
|
public:
|
||
|
CReplayPerformanceManager();
|
||
|
~CReplayPerformanceManager();
|
||
|
|
||
|
void Init();
|
||
|
|
||
|
//
|
||
|
// IReplayPerformanceManager
|
||
|
//
|
||
|
virtual const char *GetRelativePath() const;
|
||
|
virtual const char *GetFullPath() const;
|
||
|
virtual CReplayPerformance *CreatePerformance( CReplay *pReplay );
|
||
|
virtual void DeletePerformance( CReplayPerformance *pPerformance );
|
||
|
virtual const char *GeneratePerformanceFilename( CReplay *pReplay );
|
||
|
};
|
||
|
|
||
|
//----------------------------------------------------------------------------------------
|
||
|
|
||
|
#endif // REPLAYPERFORMANCEMANAGER_H
|