mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
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
|
Reference in New Issue
Block a user