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.

39 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef IDOWNLOADSYSTEM_H
  5. #define IDOWNLOADSYSTEM_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "interface.h"
  11. #if defined( WIN32 ) && !defined( _X360 ) // DWORD
  12. #include "winlite.h"
  13. #include <windows.h>
  14. #else
  15. #include "platform.h"
  16. #endif
  17. //----------------------------------------------------------------------------------------
  18. #define INTERFACEVERSION_DOWNLOADSYSTEM "DownloadSystem001"
  19. //----------------------------------------------------------------------------------------
  20. struct RequestContext_t;
  21. //----------------------------------------------------------------------------------------
  22. class IDownloadSystem : public IBaseInterface
  23. {
  24. public:
  25. virtual DWORD CreateDownloadThread( RequestContext_t *pContext ) = 0;
  26. };
  27. //----------------------------------------------------------------------------------------
  28. #endif // IDOWNLOADSYSTEM_H