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.

38 lines
860 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef SPECTATEGAMES_H
  8. #define SPECTATEGAMES_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "InternetGames.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Spectator games list
  15. //-----------------------------------------------------------------------------
  16. class CSpectateGames : public CInternetGames
  17. {
  18. public:
  19. CSpectateGames(vgui::Panel *parent);
  20. // property page handlers
  21. virtual void OnPageShow();
  22. virtual bool CheckTagFilter( gameserveritem_t &server );
  23. protected:
  24. // filters by spectator games
  25. virtual void GetNewServerList();
  26. private:
  27. typedef CInternetGames BaseClass;
  28. };
  29. #endif // SPECTATEGAMES_H