Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
14
Src/Components/wac_downloadManager/BackgroundDownloader.h
Normal file
14
Src/Components/wac_downloadManager/BackgroundDownloader.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef NULLSOFT_WAC_DOWNLOAD_MANAGER_BACKGROUND_DOWNLOADER_H
|
||||
#define NULLSOFT_WAC_DOWNLOAD_MANAGER_BACKGROUND_DOWNLOADER_H
|
||||
|
||||
#include "bfc/platform/types.h"
|
||||
|
||||
class Downloader
|
||||
{
|
||||
public:
|
||||
typedef int ( *DownloadCallback )( void *userdata, void *buffer, size_t bufferSize );
|
||||
bool Download( const char *url, DownloadCallback &callback, void *userdata, uint64_t startPosition = 0 );
|
||||
|
||||
};
|
||||
|
||||
#endif // !NULLSOFT_WAC_DOWNLOAD_MANAGER_BACKGROUND_DOWNLOADER_H
|
Loading…
Add table
Add a link
Reference in a new issue