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.
31 lines
1.3 KiB
31 lines
1.3 KiB
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//
|
|
//=============================================================================//
|
|
//--------------------------------------------------------------------------------------------------------------
|
|
// download.h
|
|
//
|
|
// Header file for optional HTTP asset downloading
|
|
// Author: Matthew D. Campbell ([email protected]), 2004
|
|
//--------------------------------------------------------------------------------------------------------------
|
|
|
|
#ifndef DOWNLOAD_H
|
|
#define DOWNLOAD_H
|
|
|
|
//--------------------------------------------------------------------------------------------------------------
|
|
// Function Prototypes
|
|
//--------------------------------------------------------------------------------------------------------------
|
|
void CL_HTTPStop_f(void);
|
|
bool CL_DownloadUpdate(void);
|
|
void CL_QueueDownload( const char *filename );
|
|
bool CL_FileReceived( const char *filename, unsigned int requestID );
|
|
bool CL_FileDenied( const char *filename, unsigned int requestID );
|
|
int CL_GetDownloadQueueSize(void);
|
|
int CL_CanUseHTTPDownload(void);
|
|
void CL_MarkMapAsUsingHTTPDownload(void);
|
|
bool CL_IsGamePathValidAndSafeForDownload( const char *pGamePath );
|
|
|
|
#endif // DOWNLOAD_H
|