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.

33 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IREPLAYSCREENSHOTSYSTEM_H
  5. #define IREPLAYSCREENSHOTSYSTEM_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. //----------------------------------------------------------------------------------------
  12. struct WriteReplayScreenshotParams_t;
  13. //----------------------------------------------------------------------------------------
  14. //
  15. // Implementation lives in the client - allows replay to tell the client to grab a
  16. // screenshot or update the cache.
  17. //
  18. class IReplayScreenshotSystem : public IBaseInterface
  19. {
  20. public:
  21. virtual void WriteReplayScreenshot( WriteReplayScreenshotParams_t &params ) = 0;
  22. virtual void UpdateReplayScreenshotCache() = 0;
  23. };
  24. //----------------------------------------------------------------------------------------
  25. #endif // IREPLAYSCREENSHOTSYSTEM_H