aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/vgui_consolepanel.cpp
blob: b4ed50c4822776a713de7a85440f6f698e53e170 (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
43
44
45
46
47
48
49
50
51
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $Workfile:     $
// $Date:         $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "iconsole.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"

class CConPanel;

class CConsole : public IConsole
{
private:
	CConPanel *conPanel;
public:
	CConsole( void )
	{
		conPanel = NULL;
	}
	
	void Create( vgui::VPANEL parent )
	{
		/*
		conPanel = new CConPanel( parent );
		*/
	}

	void Destroy( void )
	{
		/*
		if ( conPanel )
		{
			conPanel->SetParent( (vgui::Panel *)NULL );
			delete conPanel;
		}
		*/
	}
};

static CConsole g_Console;
IConsole *console = ( IConsole * )&g_Console;