#ifndef IOUTILS_HPP #define IOUTILS_HPP #include #include #include #include #include namespace ioutils { extern QNetworkAccessManager networkManager; void getJson(QUrl target, QList> headers, std::function callback); void postJson(QUrl target, QList> headers, QByteArray body, std::function callback); // If I need more I will add // Maybe when people start with plugins and custom uploaders // Wait, that's a secret } #endif // IOUTILS_HPP