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.

37 lines
1.3 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // This dialog asks if you want to save your work
  4. //
  5. //=============================================================================
  6. #ifndef SAVEDOCUMENTQUERY_H
  7. #define SAVEDOCUMENTQUERY_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // Forward declarations
  13. //-----------------------------------------------------------------------------
  14. class KeyValues;
  15. namespace vgui
  16. {
  17. class Panel;
  18. }
  19. //-----------------------------------------------------------------------------
  20. // Show the save document query dialog
  21. // NOTE: The following commands will be posted to the action signal target:
  22. // "OnExit" - when we want to quit
  23. // "OnSave" - when we want to save the file
  24. // "OnCloseNoSave" - when we want to close the file without saving it
  25. // "commandname" - additional command send after saving (SAVEDOC_POSTCOMMAND_AFTER_SAVE)
  26. // "OnMarkNotDirty" - when we want to mark the file not dirty
  27. //-----------------------------------------------------------------------------
  28. void ShowSaveDocumentQuery( vgui::Panel *pParent, const char *pFileName, const char *pFileType, int nContext, vgui::Panel *pActionSignalTarget, KeyValues *pPostSaveCommand );
  29. #endif // SAVEDOCUMENTQUERY_H