Counter Strike : Global Offensive Source Code
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.

44 lines
1.0 KiB

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef IGAMECONSOLE_H
  7. #define IGAMECONSOLE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "tier1/interface.h"
  12. //-----------------------------------------------------------------------------
  13. // Purpose: interface to game/dev console
  14. //-----------------------------------------------------------------------------
  15. abstract_class IGameConsole : public IBaseInterface
  16. {
  17. public:
  18. // activates the console, makes it visible and brings it to the foreground
  19. virtual void Activate() = 0;
  20. virtual void Initialize() = 0;
  21. // hides the console
  22. virtual void Hide() = 0;
  23. // clears the console
  24. virtual void Clear() = 0;
  25. // return true if the console has focus
  26. virtual bool IsConsoleVisible() = 0;
  27. virtual void SetParent( int parent ) = 0;
  28. // hides and deletes panel
  29. virtual void Shutdown( void ) = 0;
  30. };
  31. #define GAMECONSOLE_INTERFACE_VERSION "GameConsole004"
  32. #endif // IGAMECONSOLE_H