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.

53 lines
1.4 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef LOADGAMEDIALOG_H
  8. #define LOADGAMEDIALOG_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "basesavegamedialog.h"
  13. #include "savegamedialog.h"
  14. #include "savegamebrowserdialog.h"
  15. #include "basepanel.h"
  16. //-----------------------------------------------------------------------------
  17. // Purpose: Displays game loading options
  18. //-----------------------------------------------------------------------------
  19. class CLoadGameDialog : public CBaseSaveGameDialog
  20. {
  21. DECLARE_CLASS_SIMPLE( CLoadGameDialog, CBaseSaveGameDialog );
  22. public:
  23. explicit CLoadGameDialog(vgui::Panel *parent);
  24. ~CLoadGameDialog();
  25. virtual void OnCommand( const char *command );
  26. };
  27. //
  28. //
  29. //
  30. class CLoadGameDialogXbox : public CSaveGameBrowserDialog
  31. {
  32. DECLARE_CLASS_SIMPLE( CLoadGameDialogXbox, CSaveGameBrowserDialog );
  33. public:
  34. explicit CLoadGameDialogXbox( vgui::Panel *parent );
  35. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  36. virtual void OnCommand(const char *command);
  37. virtual void PerformSelectedAction( void );
  38. virtual void PerformDeletion( void );
  39. virtual void UpdateFooterOptions( void );
  40. private:
  41. void DeleteSaveGame( const SaveGameDescription_t *pSaveDesc );
  42. };
  43. #endif // LOADGAMEDIALOG_H