diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /common/replay/ireplayscreenshotsystem.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'common/replay/ireplayscreenshotsystem.h')
| -rw-r--r-- | common/replay/ireplayscreenshotsystem.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/common/replay/ireplayscreenshotsystem.h b/common/replay/ireplayscreenshotsystem.h new file mode 100644 index 0000000..82166a4 --- /dev/null +++ b/common/replay/ireplayscreenshotsystem.h @@ -0,0 +1,34 @@ +//========= 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
\ No newline at end of file |