load libcurl at runtime (#33)

* load libcurl at runtime

* add warning to file tab if curl cant be loaded
This commit is contained in:
WarmUpTill
2020-09-13 09:13:09 +02:00
committed by GitHub
parent 3ec1e99f4b
commit 3fd3801e56
7 changed files with 137 additions and 14 deletions

View File

@@ -8,6 +8,7 @@
#include <fstream>
#include <QDateTime>
#include <QThread>
#include <curl/curl.h>
#include "utility.hpp"
#define DEFAULT_INTERVAL 300
@@ -309,6 +310,7 @@ struct SwitcherData {
FileIOData fileIO;
IdleData idleData;
std::vector<FileSwitch> fileSwitches;
CURL *curl = nullptr;
std::vector<ExecutableSceneSwitch> executableSwitches;