Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Components/wac_downloadManager/BackgroundDownloader.h

15 lines
449 B
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#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