mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-19 19:25:52 +01:00
15 lines
449 B
C
15 lines
449 B
C
|
#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
|