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.

45 lines
1.6 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IQUERYABLEREPLAYITEM_H
  5. #define IQUERYABLEREPLAYITEM_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. #include "iqueryablereplayitem.h"
  12. #include "replay/replayhandle.h"
  13. #include "replay/replaytime.h"
  14. //----------------------------------------------------------------------------------------
  15. class CReplay;
  16. //----------------------------------------------------------------------------------------
  17. typedef int QueryableReplayItemHandle_t;
  18. //----------------------------------------------------------------------------------------
  19. abstract_class IQueryableReplayItem : public IBaseInterface
  20. {
  21. public:
  22. virtual const CReplayTime &GetItemDate() const = 0;
  23. virtual bool IsItemRendered() const = 0;
  24. virtual CReplay *GetItemReplay() = 0;
  25. virtual ReplayHandle_t GetItemReplayHandle() const = 0;
  26. virtual QueryableReplayItemHandle_t GetItemHandle() const = 0; // Get the handle of this item
  27. virtual const wchar_t *GetItemTitle() const = 0;
  28. virtual void SetItemTitle( const wchar_t *pTitle ) = 0;
  29. virtual float GetItemLength() const = 0;
  30. virtual void *GetUserData() = 0;
  31. virtual void SetUserData( void *pUserData ) = 0;
  32. virtual bool IsItemAMovie() const = 0;
  33. };
  34. //----------------------------------------------------------------------------------------
  35. #endif // IQUERYABLEREPLAYITEM_H