summaryrefslogtreecommitdiff
path: root/tracker/AdminServer/ServerConfigPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker/AdminServer/ServerConfigPanel.h')
-rw-r--r--tracker/AdminServer/ServerConfigPanel.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/tracker/AdminServer/ServerConfigPanel.h b/tracker/AdminServer/ServerConfigPanel.h
new file mode 100644
index 0000000..4701104
--- /dev/null
+++ b/tracker/AdminServer/ServerConfigPanel.h
@@ -0,0 +1,35 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================
+
+#ifndef SERVERCONFIGPANEL_H
+#define SERVERCONFIGPANEL_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "VarListPropertyPage.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Displays and allows modification to variable specific to the game
+//-----------------------------------------------------------------------------
+class CServerConfigPanel : public CVarListPropertyPage
+{
+public:
+ CServerConfigPanel(vgui::Panel *parent, const char *name, const char *mod);
+ ~CServerConfigPanel();
+
+protected:
+ // variable updates
+ virtual void OnResetData();
+ virtual void OnThink();
+
+private:
+ float m_flUpdateTime;
+ typedef CVarListPropertyPage BaseClass;
+};
+
+#endif // SERVERCONFIGPANEL_H \ No newline at end of file