Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
|
|
|
//========= 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:
|
|
|
|
virtual uintp CreateDownloadThread( RequestContext_t *pContext ) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif // IDOWNLOADSYSTEM_H
|