diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/ihltv.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/ihltv.h')
| -rw-r--r-- | mp/src/public/ihltv.h | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/mp/src/public/ihltv.h b/mp/src/public/ihltv.h index 2f2ec2ee..4fd3a221 100644 --- a/mp/src/public/ihltv.h +++ b/mp/src/public/ihltv.h @@ -1,48 +1,48 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-
-#ifndef IHLTV_H
-#define IHLTV_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-
-class IServer;
-class IHLTVDirector;
-class IGameEvent;
-struct netadr_s;
-
-//-----------------------------------------------------------------------------
-// Interface the HLTV module exposes to the engine
-//-----------------------------------------------------------------------------
-#define INTERFACEVERSION_HLTVSERVER "HLTVServer001"
-
-class IHLTVServer : public IBaseInterface
-{
-public:
- virtual ~IHLTVServer() {}
-
- virtual IServer *GetBaseServer( void ) = 0; // get HLTV base server interface
- virtual IHLTVDirector *GetDirector( void ) = 0; // get director interface
- virtual int GetHLTVSlot( void ) = 0; // return entity index-1 of HLTV in game
- virtual float GetOnlineTime( void ) = 0; // seconds since broadcast started
- virtual void GetLocalStats( int &proxies, int &slots, int &specs ) = 0;
- virtual void GetGlobalStats( int &proxies, int &slots, int &specs ) = 0;
-
- virtual const netadr_s *GetRelayAddress( void ) = 0; // returns relay address
-
- virtual bool IsMasterProxy( void ) = 0; // true, if this is the HLTV master proxy
- virtual bool IsDemoPlayback( void ) = 0; // true if this is a HLTV demo
-
- virtual void BroadcastEvent(IGameEvent *event) = 0; // send a director command to all specs
-};
-
-#endif
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#ifndef IHLTV_H +#define IHLTV_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "interface.h" + +class IServer; +class IHLTVDirector; +class IGameEvent; +struct netadr_s; + +//----------------------------------------------------------------------------- +// Interface the HLTV module exposes to the engine +//----------------------------------------------------------------------------- +#define INTERFACEVERSION_HLTVSERVER "HLTVServer001" + +class IHLTVServer : public IBaseInterface +{ +public: + virtual ~IHLTVServer() {} + + virtual IServer *GetBaseServer( void ) = 0; // get HLTV base server interface + virtual IHLTVDirector *GetDirector( void ) = 0; // get director interface + virtual int GetHLTVSlot( void ) = 0; // return entity index-1 of HLTV in game + virtual float GetOnlineTime( void ) = 0; // seconds since broadcast started + virtual void GetLocalStats( int &proxies, int &slots, int &specs ) = 0; + virtual void GetGlobalStats( int &proxies, int &slots, int &specs ) = 0; + + virtual const netadr_s *GetRelayAddress( void ) = 0; // returns relay address + + virtual bool IsMasterProxy( void ) = 0; // true, if this is the HLTV master proxy + virtual bool IsDemoPlayback( void ) = 0; // true if this is a HLTV demo + + virtual void BroadcastEvent(IGameEvent *event) = 0; // send a director command to all specs +}; + +#endif |