New upstream version 18.0.1+dfsg1

This commit is contained in:
Sebastian Ramacher 2017-04-19 21:54:15 +02:00
parent 6efda2859e
commit f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions

View file

@ -18,6 +18,7 @@
#pragma once
#include <QThread>
#include <vector>
#include <string>
class RemoteTextThread : public QThread {
@ -40,3 +41,13 @@ public:
: url(url_), contentType(contentType_), postData(postData_)
{}
};
bool GetRemoteFile(
const char *url,
std::string &str,
std::string &error,
long *responseCode = nullptr,
const char *contentType = nullptr,
const char *postData = nullptr,
std::vector<std::string> extraHeaders = std::vector<std::string>(),
std::string *signature = nullptr);