mirror-chatterino2/src/common/NetworkManager.hpp
2018-08-10 20:53:13 +02:00

30 lines
524 B
C++

#pragma once
#include "common/NetworkRequester.hpp"
#include "common/NetworkWorker.hpp"
#include "debug/Log.hpp"
#include <QJsonDocument>
#include <QJsonObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QThread>
#include <QTimer>
#include <QUrl>
namespace chatterino {
class NetworkManager : public QObject
{
Q_OBJECT
public:
static QThread workerThread;
static QNetworkAccessManager accessManager;
static void init();
static void deinit();
};
} // namespace chatterino