Counter Strike : Global Offensive Source Code
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.

39 lines
1.1 KiB

  1. //========= Copyright � 1996-2001, Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef FRIENDSGAMES_H
  8. #define FRIENDSGAMES_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Favorite games list
  14. //-----------------------------------------------------------------------------
  15. class CFriendsGames : public CBaseGamesPage
  16. {
  17. DECLARE_CLASS_SIMPLE( CFriendsGames, CBaseGamesPage );
  18. public:
  19. CFriendsGames(vgui::Panel *parent);
  20. ~CFriendsGames();
  21. // IGameList handlers
  22. // returns true if the game list supports the specified ui elements
  23. virtual bool SupportsItem(InterfaceItem_e item);
  24. // called when the current refresh list is complete
  25. virtual void RefreshComplete( HServerListRequest hReq, EMatchMakingServerResponse response );
  26. private:
  27. // context menu message handlers
  28. MESSAGE_FUNC_INT( OnOpenContextMenu, "OpenContextMenu", itemID );
  29. int m_iServerRefreshCount; // number of servers refreshed
  30. };
  31. #endif // FRIENDSGAMES_H