diff options
Diffstat (limited to 'mp/src/common/replay/irecordingsessionmanager.h')
| -rw-r--r-- | mp/src/common/replay/irecordingsessionmanager.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mp/src/common/replay/irecordingsessionmanager.h b/mp/src/common/replay/irecordingsessionmanager.h new file mode 100644 index 00000000..998f1956 --- /dev/null +++ b/mp/src/common/replay/irecordingsessionmanager.h @@ -0,0 +1,33 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef IRECORDINGSESSIONMANAGER_H
+#define IRECORDINGSESSIONMANAGER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "interface.h"
+#include "replay/replayhandle.h"
+
+//----------------------------------------------------------------------------------------
+
+class CBaseRecordingSession;
+
+//----------------------------------------------------------------------------------------
+
+class IRecordingSessionManager : public IBaseInterface
+{
+public:
+ virtual CBaseRecordingSession *FindSession( ReplayHandle_t hSession ) = 0;
+ virtual const CBaseRecordingSession *FindSession( ReplayHandle_t hSession ) const = 0;
+ virtual void FlagSessionForFlush( CBaseRecordingSession *pSession, bool bForceImmediate ) = 0;
+ virtual int GetServerStartTickForSession( ReplayHandle_t hSession ) = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // IRECORDINGSESSIONMANAGER_H
\ No newline at end of file |