mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
//=======================================================================================//
|
|
|
|
#ifndef IREPLAYSCREENSHOTSYSTEM_H
|
|
#define IREPLAYSCREENSHOTSYSTEM_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
#include "interface.h"
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
struct WriteReplayScreenshotParams_t;
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
//
|
|
// Implementation lives in the client - allows replay to tell the client to grab a
|
|
// screenshot or update the cache.
|
|
//
|
|
class IReplayScreenshotSystem : public IBaseInterface
|
|
{
|
|
public:
|
|
virtual void WriteReplayScreenshot( WriteReplayScreenshotParams_t ¶ms ) = 0;
|
|
virtual void UpdateReplayScreenshotCache() = 0;
|
|
};
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
#endif // IREPLAYSCREENSHOTSYSTEM_H
|