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.

29 lines
822 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef ISQLDLREPLYTARGET_H
  8. #define ISQLDLREPLYTARGET_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Interface to handle results of SQL queries
  14. //-----------------------------------------------------------------------------
  15. class ISQLDBReplyTarget
  16. {
  17. public:
  18. // handles a response from the database
  19. virtual void SQLDBResponse(int cmdID, int returnState, int returnVal, void *data) = 0;
  20. // called from a seperate thread; tells the reply target that a message is waiting for it
  21. virtual void WakeUp() = 0;
  22. };
  23. #endif // ISQLDLREPLYTARGET_H