source-engine/common/engine/idownloadsystem.h

40 lines
1.1 KiB
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#ifndef IDOWNLOADSYSTEM_H
#define IDOWNLOADSYSTEM_H
#ifdef _WIN32
#pragma once
#endif
//----------------------------------------------------------------------------------------
#include "interface.h"
#if defined( WIN32 ) && !defined( _X360 ) // DWORD
#include "winlite.h"
#include <windows.h>
#else
#include "platform.h"
#endif
//----------------------------------------------------------------------------------------
#define INTERFACEVERSION_DOWNLOADSYSTEM "DownloadSystem001"
//----------------------------------------------------------------------------------------
struct RequestContext_t;
//----------------------------------------------------------------------------------------
class IDownloadSystem : public IBaseInterface
{
public:
2022-02-23 11:50:30 +00:00
virtual uintp CreateDownloadThread( RequestContext_t *pContext ) = 0;
2020-04-22 16:56:21 +00:00
};
//----------------------------------------------------------------------------------------
#endif // IDOWNLOADSYSTEM_H