mirror of
https://github.com/wiiu-env/AromaUpdater.git
synced 2024-11-30 16:44:16 +01:00
15 lines
340 B
C++
15 lines
340 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
class DownloadUtils {
|
|
public:
|
|
static bool Init();
|
|
|
|
static void Deinit();
|
|
|
|
static int DownloadFileToBuffer(const std::string &url, std::string &outBuffer, int &responseCodeOut, int &errorOut, std::string &errorTextOut, float *progress);
|
|
|
|
private:
|
|
static bool libInitDone;
|
|
}; |