12 lines
311 B
C++
12 lines
311 B
C++
#pragma once
|
|
#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);
|
|
|
|
static bool libInitDone;
|
|
}; |