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
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Act busy tool; main UI smarts class
  4. //
  5. //=============================================================================
  6. #ifndef ACTBUSYTOOL_H
  7. #define ACTBUSYTOOL_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // Forward declarations
  13. //-----------------------------------------------------------------------------
  14. class CDmeEditorTypeDictionary;
  15. //-----------------------------------------------------------------------------
  16. // Singleton interfaces
  17. //-----------------------------------------------------------------------------
  18. extern CDmeEditorTypeDictionary *g_pEditorTypeDict;
  19. //-----------------------------------------------------------------------------
  20. // Allows the doc to call back into the act busy tool
  21. //-----------------------------------------------------------------------------
  22. class IActBusyDocCallback
  23. {
  24. public:
  25. // Called by the doc when the data changes
  26. virtual void OnDocChanged( const char *pReason, int nNotifySource, int nNotifyFlags ) = 0;
  27. };
  28. #endif // ACTBUSYTOOL_H