diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/tfstats/cvars.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/tfstats/cvars.h')
| -rw-r--r-- | utils/tfstats/cvars.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/utils/tfstats/cvars.h b/utils/tfstats/cvars.h new file mode 100644 index 0000000..8c161c3 --- /dev/null +++ b/utils/tfstats/cvars.h @@ -0,0 +1,39 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Interface of CCVarList +// +// $Workfile: $ +// $Date: $ +// +//------------------------------------------------------------------------------------------------------ +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// +#ifndef CVARS_H +#define CVARS_H +#ifdef WIN32 +#pragma once +#endif +#include "report.h" + +//------------------------------------------------------------------------------------------------------ +// Purpose: CCVarList is a report element that outputs a two column table with +// the cvars that were in effect while the match was running. Cvars that contain +// various passwords are omitted from the listing. +//------------------------------------------------------------------------------------------------------ +class CCVarList :public CReport +{ +private: + enum Consts + { + HTML_TABLE_WIDTH=500, + HTML_TABLE_NUM_COLS=2, + }; +public: + explicit CCVarList(){} + + void writeHTML(CHTMLFile& html); + +}; +#endif // CVARS_H |