summaryrefslogtreecommitdiff
path: root/serverbrowser/SpectateGames.h
blob: 49ab16e69f1e3f029ad773e592ec2aab0dd5267d (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================

#ifndef SPECTATEGAMES_H
#define SPECTATEGAMES_H
#ifdef _WIN32
#pragma once
#endif

#include "InternetGames.h"

//-----------------------------------------------------------------------------
// Purpose: Spectator games list
//-----------------------------------------------------------------------------
class CSpectateGames : public CInternetGames
{
public:
	CSpectateGames(vgui::Panel *parent);

	// property page handlers
	virtual void OnPageShow();

	virtual bool CheckTagFilter( gameserveritem_t &server );

protected:
	// filters by spectator games
	virtual void GetNewServerList();

private:
	typedef CInternetGames BaseClass;
};


#endif // SPECTATEGAMES_H