mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-28 09:03:01 +00:00
52 lines
900 B
C++
52 lines
900 B
C++
//========= 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;
|