summaryrefslogtreecommitdiff
path: root/tracker/AdminServer/DialogAddServer.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /tracker/AdminServer/DialogAddServer.h
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'tracker/AdminServer/DialogAddServer.h')
-rw-r--r--tracker/AdminServer/DialogAddServer.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/tracker/AdminServer/DialogAddServer.h b/tracker/AdminServer/DialogAddServer.h
new file mode 100644
index 0000000..e18b2a1
--- /dev/null
+++ b/tracker/AdminServer/DialogAddServer.h
@@ -0,0 +1,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