summaryrefslogtreecommitdiff
path: root/tracker/AdminServer/IManageServer.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/IManageServer.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'tracker/AdminServer/IManageServer.h')
-rw-r--r--tracker/AdminServer/IManageServer.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/tracker/AdminServer/IManageServer.h b/tracker/AdminServer/IManageServer.h
new file mode 100644
index 0000000..b57194d
--- /dev/null
+++ b/tracker/AdminServer/IManageServer.h
@@ -0,0 +1,35 @@
+
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================
+
+#ifndef IMANAGESERVER_H
+#define IMANAGESERVER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <interface.h>
+
+//-----------------------------------------------------------------------------
+// Purpose: basic callback interface for the manage server list, to update status text et al
+//-----------------------------------------------------------------------------
+class IManageServer : public IBaseInterface
+{
+public:
+ // activates the manage page
+ virtual void ShowPage() = 0;
+
+ // sets whether or not the server is remote
+ virtual void SetAsRemoteServer(bool remote) = 0;
+
+ // prints text to the console
+ virtual void AddToConsole(const char *msg) = 0;
+};
+
+#define IMANAGESERVER_INTERFACE_VERSION "IManageServer002"
+
+#endif // IMANAGESERVER_H