mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
//=======================================================================================//
|
|
|
|
#ifndef IREPLAYSCREENSHOTMANAGER_H
|
|
#define IREPLAYSCREENSHOTMANAGER_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
#include "interface.h"
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
class CReplay;
|
|
struct CaptureScreenshotParams_t;
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
class IReplayScreenshotManager : public IBaseInterface
|
|
{
|
|
public:
|
|
virtual void CaptureScreenshot( CaptureScreenshotParams_t& params ) = 0;
|
|
virtual void GetUnpaddedScreenshotSize( int &nOutWidth, int &nOutHeight ) = 0;
|
|
virtual void DeleteScreenshotsForReplay( CReplay *pReplay ) = 0;
|
|
};
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
#endif // IREPLAYSCREENSHOTMANAGER_H
|