Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions

View 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