Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IREPLAYSCREENSHOTMANAGER_H
  5. #define IREPLAYSCREENSHOTMANAGER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. //----------------------------------------------------------------------------------------
  12. class CReplay;
  13. struct CaptureScreenshotParams_t;
  14. //----------------------------------------------------------------------------------------
  15. class IReplayScreenshotManager : public IBaseInterface
  16. {
  17. public:
  18. virtual void CaptureScreenshot( CaptureScreenshotParams_t& params ) = 0;
  19. virtual void GetUnpaddedScreenshotSize( int &nOutWidth, int &nOutHeight ) = 0;
  20. virtual void DeleteScreenshotsForReplay( CReplay *pReplay ) = 0;
  21. };
  22. //----------------------------------------------------------------------------------------
  23. #endif // IREPLAYSCREENSHOTMANAGER_H