mirror-chatterino2/src/common/NetworkManager.hpp

21 lines
316 B
C++
Raw Normal View History

#pragma once
#include <QNetworkAccessManager>
#include <QThread>
namespace chatterino {
class NetworkManager : public QObject
{
Q_OBJECT
public:
static QThread workerThread;
2018-08-10 19:00:14 +02:00
static QNetworkAccessManager accessManager;
static void init();
static void deinit();
};
} // namespace chatterino