Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
940 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef IMANAGESERVER_H
  8. #define IMANAGESERVER_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <interface.h>
  13. //-----------------------------------------------------------------------------
  14. // Purpose: basic callback interface for the manage server list, to update status text et al
  15. //-----------------------------------------------------------------------------
  16. class IManageServer : public IBaseInterface
  17. {
  18. public:
  19. // activates the manage page
  20. virtual void ShowPage() = 0;
  21. // sets whether or not the server is remote
  22. virtual void SetAsRemoteServer(bool remote) = 0;
  23. // prints text to the console
  24. virtual void AddToConsole(const char *msg) = 0;
  25. };
  26. #define IMANAGESERVER_INTERFACE_VERSION "IManageServer002"
  27. #endif // IMANAGESERVER_H