summaryrefslogtreecommitdiff
path: root/gcsdk/gchost.cpp
blob: 6ff28f7ff6e5f4b21be17746c8286a58435199a2 (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
//========= 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