summaryrefslogtreecommitdiff
path: root/common/engine/idownloadsystem.h
blob: 3cc020fa256caf155d4eb4de8fbc079ebb821c22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//========= 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 DWORD CreateDownloadThread( RequestContext_t *pContext ) = 0;
};

//----------------------------------------------------------------------------------------

#endif // IDOWNLOADSYSTEM_H