summaryrefslogtreecommitdiff
path: root/tracker/AdminServer/DialogAddServer.h
blob: e18b2a13bec029fbbba3bb091f60eb90fff56c9f (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================

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

#include <VGUI_Frame.h>

class IGameList;

//-----------------------------------------------------------------------------
// Purpose: Dialog which lets the user add a server by IP address
//-----------------------------------------------------------------------------
class CDialogAddServer : public vgui::Frame
{
public:
	CDialogAddServer(IGameList *gameList);
	~CDialogAddServer();

	// activates this dialog
	void Open();

private:
	virtual void OnClose();
	virtual void OnCommand(const char *command);

	void OnOK();

	IGameList *m_pGameList;

	typedef vgui::Frame BaseClass;
};


#endif // DIALOGADDSERVER_H