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.

21 lines
632 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #if !defined( TEXT_MESSAGE_H )
  8. #define TEXT_MESSAGE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. abstract_class IHudTextMessage
  13. {
  14. public:
  15. virtual char *LocaliseTextString( const char *msg, char *dst_buffer, int buffer_size ) = 0;
  16. virtual char *BufferedLocaliseTextString( const char *msg ) = 0;
  17. virtual char *LookupString( const char *msg_name, int *msg_dest = NULL ) = 0;
  18. };
  19. extern IHudTextMessage *hudtextmessage;
  20. #endif // TEXT_MESSAGE_H