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.

39 lines
816 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MULTIPLEREQUEST_H
  8. #define MULTIPLEREQUEST_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "basedialogparams.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose:
  15. //-----------------------------------------------------------------------------
  16. struct CMultipleParams : public CBaseDialogParams
  17. {
  18. enum
  19. {
  20. YES_ALL = 0,
  21. YES,
  22. NO,
  23. NO_ALL,
  24. CANCEL,
  25. };
  26. char m_szPrompt[ 256 ];
  27. };
  28. // Display/create dialog
  29. int MultipleRequest( char const *prompt );
  30. int _MultipleRequest( CMultipleParams *params );
  31. void MultipleRequestChangeContext();
  32. #endif // MULTIPLEREQUEST_H