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.

41 lines
1.5 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IREPLAYMOVIE_H
  5. #define IREPLAYMOVIE_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "iqueryablereplayitem.h"
  11. #include "replay/rendermovieparams.h"
  12. //----------------------------------------------------------------------------------------
  13. abstract_class IReplayMovie : public IQueryableReplayItem
  14. {
  15. public:
  16. virtual ReplayHandle_t GetMovieHandle() const = 0;
  17. virtual ReplayHandle_t GetReplayHandle() const = 0;
  18. virtual const ReplayRenderSettings_t &GetRenderSettings() = 0;
  19. virtual void GetFrameDimensions( int &nWidth, int &nHeight ) = 0;
  20. virtual void SetIsRendered( bool bIsRendered ) = 0;
  21. virtual void SetMovieFilename( const char *pFilename ) = 0;
  22. virtual const char *GetMovieFilename() const = 0;
  23. virtual void SetMovieTitle( const wchar_t *pTitle ) = 0;
  24. virtual void SetRenderTime( float flRenderTime ) = 0;
  25. virtual float GetRenderTime() const = 0;
  26. virtual void CaptureRecordTime() = 0;
  27. virtual void SetLength( float flLength ) = 0;
  28. virtual bool IsUploaded() const = 0;
  29. virtual void SetUploaded( bool bUploaded ) = 0;
  30. virtual void SetUploadURL( const char *pURL ) = 0;
  31. virtual const char *GetUploadURL() const = 0;
  32. };
  33. //----------------------------------------------------------------------------------------
  34. #endif // IREPLAYMOVIE_H