Resource syncing infrastructure

This commit is contained in:
Emil Axelsson
2017-10-31 17:46:48 +01:00
parent fba556b11f
commit 2313a275d3
18 changed files with 334 additions and 140 deletions

View File

@@ -25,7 +25,11 @@
#include "httpsynchronization.h"
#include <openspace/util/asynchttprequest.h>
#include <ghoul/logging/logmanager.h>
namespace {
const char* _loggerCat = "HttpSynchronization";
}
namespace openspace {
@@ -39,7 +43,12 @@ documentation::Documentation HttpSynchronization::Documentation() {
return {};
}
void HttpSynchronization::synchronize() {
// TODO: Download files, synchronously.
// First check if files exist.
LINFO("Synchronizing!");
resolve();
}
} // namespace openspace