mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-26 14:58:51 -06:00
Feature/torrent removal (#630)
* Remove torrent-based synchronization downloads * Add download URL to error message if HTTPSynchronization download fails * Add a grace factor to the distance conversion * Don't use scientific notation when displaying distances
This commit is contained in:
@@ -108,6 +108,8 @@ public:
|
||||
|
||||
void perform(RequestOptions opt);
|
||||
|
||||
const std::string& url() const;
|
||||
|
||||
private:
|
||||
void setReadyState(ReadyState state);
|
||||
|
||||
@@ -171,6 +173,8 @@ public:
|
||||
virtual ~SyncHttpDownload() = default;
|
||||
void download(HttpRequest::RequestOptions opt);
|
||||
|
||||
const std::string& url() const;
|
||||
|
||||
protected:
|
||||
HttpRequest _httpRequest;
|
||||
};
|
||||
@@ -184,6 +188,8 @@ public:
|
||||
void cancel();
|
||||
void wait();
|
||||
|
||||
const std::string& url() const;
|
||||
|
||||
protected:
|
||||
void download(HttpRequest::RequestOptions opt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user