diff options
Diffstat (limited to 'mp/src/common/replay/ireplayscreenshotmanager.h')
| -rw-r--r-- | mp/src/common/replay/ireplayscreenshotmanager.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mp/src/common/replay/ireplayscreenshotmanager.h b/mp/src/common/replay/ireplayscreenshotmanager.h new file mode 100644 index 00000000..c23d8028 --- /dev/null +++ b/mp/src/common/replay/ireplayscreenshotmanager.h @@ -0,0 +1,32 @@ +//========= 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
|