Team Fortress 2 Source Code as on 22/4/2020
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.

51 lines
900 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #include "cbase.h"
  14. #include "iconsole.h"
  15. // memdbgon must be the last include file in a .cpp file!!!
  16. #include "tier0/memdbgon.h"
  17. class CConPanel;
  18. class CConsole : public IConsole
  19. {
  20. private:
  21. CConPanel *conPanel;
  22. public:
  23. CConsole( void )
  24. {
  25. conPanel = NULL;
  26. }
  27. void Create( vgui::VPANEL parent )
  28. {
  29. /*
  30. conPanel = new CConPanel( parent );
  31. */
  32. }
  33. void Destroy( void )
  34. {
  35. /*
  36. if ( conPanel )
  37. {
  38. conPanel->SetParent( (vgui::Panel *)NULL );
  39. delete conPanel;
  40. }
  41. */
  42. }
  43. };
  44. static CConsole g_Console;
  45. IConsole *console = ( IConsole * )&g_Console;