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.

32 lines
966 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IREPLAYERRORSYSYTEM_H
  5. #define IREPLAYERRORSYSYTEM_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. //----------------------------------------------------------------------------------------
  12. class KeyValues;
  13. //----------------------------------------------------------------------------------------
  14. //
  15. // Replay error system
  16. //
  17. class IReplayErrorSystem : public IBaseInterface
  18. {
  19. public:
  20. virtual void AddErrorFromTokenName( const char *pToken ) = 0;
  21. virtual void AddFormattedErrorFromTokenName( const char *pFormatToken, KeyValues *pFormatArgs ) = 0;
  22. };
  23. //----------------------------------------------------------------------------------------
  24. #endif // IREPLAYERRORSYSYTEM_H