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.

39 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Interface of CCVarList
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //------------------------------------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef CVARS_H
  14. #define CVARS_H
  15. #ifdef WIN32
  16. #pragma once
  17. #endif
  18. #include "report.h"
  19. //------------------------------------------------------------------------------------------------------
  20. // Purpose: CCVarList is a report element that outputs a two column table with
  21. // the cvars that were in effect while the match was running. Cvars that contain
  22. // various passwords are omitted from the listing.
  23. //------------------------------------------------------------------------------------------------------
  24. class CCVarList :public CReport
  25. {
  26. private:
  27. enum Consts
  28. {
  29. HTML_TABLE_WIDTH=500,
  30. HTML_TABLE_NUM_COLS=2,
  31. };
  32. public:
  33. explicit CCVarList(){}
  34. void writeHTML(CHTMLFile& html);
  35. };
  36. #endif // CVARS_H