summaryrefslogtreecommitdiff
path: root/utils/tfstats/cvars.h
blob: 8c161c3f576a14a9ca3c1d01dd4e6c9797b71647 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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