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.

30 lines
592 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef ENGINEPERFTOOLS_H
  7. #define ENGINEPERFTOOLS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. namespace vgui
  12. {
  13. class Panel;
  14. };
  15. abstract_class IEnginePerfTools
  16. {
  17. public:
  18. virtual void Init( void ) = 0;
  19. virtual void Shutdown( void ) = 0;
  20. virtual void InstallPerformanceToolsUI( vgui::Panel *parent ) = 0;
  21. virtual bool ShouldPause() const = 0;
  22. };
  23. extern IEnginePerfTools *perftools;
  24. #endif // ENGINEPERFTOOLS_H