aboutsummaryrefslogtreecommitdiff
path: root/sp/src/common/replay/ireplaymovie.h
blob: 2a2caee3b042ec13c66a111e6cabc3eee30d9183 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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