aboutsummaryrefslogtreecommitdiff
path: root/sp/src/common/replay/ireplaymanager.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /sp/src/common/replay/ireplaymanager.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'sp/src/common/replay/ireplaymanager.h')
-rw-r--r--sp/src/common/replay/ireplaymanager.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/sp/src/common/replay/ireplaymanager.h b/sp/src/common/replay/ireplaymanager.h
new file mode 100644
index 00000000..4f11dfdf
--- /dev/null
+++ b/sp/src/common/replay/ireplaymanager.h
@@ -0,0 +1,42 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef IREPLAYMANAGER_H
+#define IREPLAYMANAGER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "interface.h"
+#include "replay/replayhandle.h"
+#include "utllinkedlist.h"
+
+//----------------------------------------------------------------------------------------
+
+class CReplay;
+class IQueryableReplayItem;
+
+//----------------------------------------------------------------------------------------
+
+class IReplayManager : public IBaseInterface
+{
+public:
+ virtual CReplay *GetReplay( ReplayHandle_t hReplay ) = 0;
+ virtual CReplay *GetPlayingReplay() = 0;
+ virtual CReplay *GetReplayForCurrentLife() = 0;
+ virtual void FlagReplayForFlush( CReplay *pReplay, bool bForceImmediate ) = 0;
+ virtual void DeleteReplay( ReplayHandle_t hReplay, bool bNotifyUI ) = 0;
+ virtual int GetReplayCount() const = 0;
+ virtual int GetUnrenderedReplayCount() = 0; // Get the number of unrendered replays
+ virtual void GetReplays( CUtlLinkedList< CReplay *, int > &lstReplays ) = 0;
+ virtual void GetReplaysAsQueryableItems( CUtlLinkedList< IQueryableReplayItem *, int > &lstReplays ) = 0;
+ virtual float GetDownloadProgress( const CReplay *pReplay ) = 0;
+ virtual const char *GetReplaysDir() const = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // IREPLAYMANAGER_H