summaryrefslogtreecommitdiff
path: root/common/replay/ireplaymovie.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/ireplaymovie.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'common/replay/ireplaymovie.h')
-rw-r--r--common/replay/ireplaymovie.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/common/replay/ireplaymovie.h b/common/replay/ireplaymovie.h
new file mode 100644
index 0000000..2a2caee
--- /dev/null
+++ b/common/replay/ireplaymovie.h
@@ -0,0 +1,42 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef IREPLAYMOVIE_H
+#define IREPLAYMOVIE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "iqueryablereplayitem.h"
+#include "replay/rendermovieparams.h"
+
+//----------------------------------------------------------------------------------------
+
+abstract_class IReplayMovie : public IQueryableReplayItem
+{
+public:
+ virtual ReplayHandle_t GetMovieHandle() const = 0;
+ virtual ReplayHandle_t GetReplayHandle() const = 0;
+ virtual const ReplayRenderSettings_t &GetRenderSettings() = 0;
+ virtual void GetFrameDimensions( int &nWidth, int &nHeight ) = 0;
+ virtual void SetIsRendered( bool bIsRendered ) = 0;
+ virtual void SetMovieFilename( const char *pFilename ) = 0;
+ virtual const char *GetMovieFilename() const = 0;
+ virtual void SetMovieTitle( const wchar_t *pTitle ) = 0;
+ virtual void SetRenderTime( float flRenderTime ) = 0;
+ virtual float GetRenderTime() const = 0;
+ virtual void CaptureRecordTime() = 0;
+ virtual void SetLength( float flLength ) = 0;
+
+ virtual bool IsUploaded() const = 0;
+ virtual void SetUploaded( bool bUploaded ) = 0;
+ virtual void SetUploadURL( const char *pURL ) = 0;
+ virtual const char *GetUploadURL() const = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // IREPLAYMOVIE_H \ No newline at end of file