summaryrefslogtreecommitdiff
path: root/common/replay/ireplayscreenshotmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/replay/ireplayscreenshotmanager.h')
-rw-r--r--common/replay/ireplayscreenshotmanager.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/replay/ireplayscreenshotmanager.h b/common/replay/ireplayscreenshotmanager.h
new file mode 100644
index 0000000..8d73ac4
--- /dev/null
+++ b/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