mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 14:46:53 +00:00
43 lines
896 B
C
43 lines
896 B
C
|
//========= 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
|