summaryrefslogtreecommitdiff
path: root/common/replay/ireplayrenderqueue.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /common/replay/ireplayrenderqueue.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'common/replay/ireplayrenderqueue.h')
-rw-r--r--common/replay/ireplayrenderqueue.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/replay/ireplayrenderqueue.h b/common/replay/ireplayrenderqueue.h
new file mode 100644
index 0000000..320d90e
--- /dev/null
+++ b/common/replay/ireplayrenderqueue.h
@@ -0,0 +1,32 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef IREPLAYRENDERQUEUE_H
+#define IREPLAYRENDERQUEUE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "interface.h"
+#include "replay/replayhandle.h"
+
+//----------------------------------------------------------------------------------------
+
+abstract_class IReplayRenderQueue : IBaseInterface
+{
+public:
+ virtual void Add( ReplayHandle_t hReplay, int iPerformance ) = 0;
+ virtual void Remove( ReplayHandle_t hReplay, int iPerformance ) = 0;
+ virtual void Clear() = 0;
+
+ virtual int GetCount() const = 0;
+ virtual bool GetEntryData( int iIndex, ReplayHandle_t *pHandleOut, int *pPerformanceOut ) const = 0;
+ virtual bool IsInQueue( ReplayHandle_t hReplay, int iPerformance ) const = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // IREPLAYRENDERQUEUE_H \ No newline at end of file