blob: 9170f47cd3b80ad518d1c186436068bd7c056198 (
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
40
41
42
43
44
45
46
47
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Implementation of CReport
//
// $Workfile: $
// $Date: $
//
//------------------------------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef REPORT_H
#define REPORT_H
#ifdef WIN32
#pragma once
#pragma warning(disable:4786)
#endif
#include "MatchInfo.h"
#include "HTML.h"
//------------------------------------------------------------------------------------------------------
// Purpose: CReport is the base class for all elements of a report. This includes
// things like scoreboards and awards.
//------------------------------------------------------------------------------------------------------
class CReport
{
protected:
//every element must have some info about the match to go off of.
//moved into global pointer. g_pMatchInfo
//CMatchInfo* pMatchInfo;
virtual void init(){}
public:
//explicit CReport(CMatchInfo* pMInfo):pMatchInfo(pMInfo){}
explicit CReport(){}
virtual void writeHTML(CHTMLFile& html){}
virtual void generate(){}
virtual void makeHTMLPage(char* pageName,char* pageTitle);
virtual void report(CHTMLFile& html);
virtual ~CReport(){}
};
#endif // REPORT_H
|