mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
1
This commit is contained in:
34
common/IManageServer.h
Normal file
34
common/IManageServer.h
Normal file
@@ -0,0 +1,34 @@
|
||||
//========= 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
|
||||
//-----------------------------------------------------------------------------
|
||||
abstract_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
|
||||
Reference in New Issue
Block a user