mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
HTTPDownloader: Add support for progress updates/cancelling
This commit is contained in:
committed by
Connor McLaughlin
parent
f18964ad44
commit
7715d122c7
@@ -26,7 +26,7 @@ public:
|
||||
HTTPDownloaderWinHttp();
|
||||
~HTTPDownloaderWinHttp() override;
|
||||
|
||||
bool Initialize(const char* user_agent);
|
||||
bool Initialize(std::string user_agent);
|
||||
|
||||
protected:
|
||||
Request* InternalCreateRequest() override;
|
||||
@@ -46,5 +46,7 @@ private:
|
||||
static void CALLBACK HTTPStatusCallback(HINTERNET hInternet, DWORD_PTR dwContext, DWORD dwInternetStatus,
|
||||
LPVOID lpvStatusInformation, DWORD dwStatusInformationLength);
|
||||
|
||||
static bool CheckCancelled(Request* request);
|
||||
|
||||
HINTERNET m_hSession = NULL;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user