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.

31 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IREPLAYRENDERQUEUE_H
  5. #define IREPLAYRENDERQUEUE_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. #include "replay/replayhandle.h"
  12. //----------------------------------------------------------------------------------------
  13. abstract_class IReplayRenderQueue : IBaseInterface
  14. {
  15. public:
  16. virtual void Add( ReplayHandle_t hReplay, int iPerformance ) = 0;
  17. virtual void Remove( ReplayHandle_t hReplay, int iPerformance ) = 0;
  18. virtual void Clear() = 0;
  19. virtual int GetCount() const = 0;
  20. virtual bool GetEntryData( int iIndex, ReplayHandle_t *pHandleOut, int *pPerformanceOut ) const = 0;
  21. virtual bool IsInQueue( ReplayHandle_t hReplay, int iPerformance ) const = 0;
  22. };
  23. //----------------------------------------------------------------------------------------
  24. #endif // IREPLAYRENDERQUEUE_H