You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
538 B
27 lines
538 B
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose: Holds a pointer to the GC's host's interface
|
||
|
//
|
||
|
//=============================================================================
|
||
|
#include "stdafx.h"
|
||
|
|
||
|
// memdbgon must be the last include file in a .cpp file!!!
|
||
|
#include "tier0/memdbgon.h"
|
||
|
|
||
|
namespace GCSDK
|
||
|
{
|
||
|
IGameCoordinatorHost *g_pGCHost = NULL;
|
||
|
|
||
|
IGameCoordinatorHost *GGCHost()
|
||
|
{
|
||
|
return g_pGCHost;
|
||
|
}
|
||
|
|
||
|
|
||
|
void SetGCHost( IGameCoordinatorHost *pHost )
|
||
|
{
|
||
|
g_pGCHost = pHost;
|
||
|
}
|
||
|
|
||
|
} // namespace GCSDK
|