mirror-chatterino2/src/common/NetworkManager.hpp

20 lines
316 B
C++

#pragma once
#include <QNetworkAccessManager>
#include <QThread>
namespace chatterino {
class NetworkManager : public QObject
{
Q_OBJECT
public:
static QThread workerThread;
static QNetworkAccessManager accessManager;
static void init();
static void deinit();
};
} // namespace chatterino