bigsnitch/proxyhandler.h
Tim Blume 600d7146d3 foo
2021-03-20 22:56:03 +01:00

24 lines
398 B
C++

#pragma once
#include <include/api.h>
#include <include/proxyinterface.h>
#include <QObject>
namespace http {
class ProxyHandler : public QObject
{
Q_OBJECT
private:
std::map<QString, std::pair<ProxyInterface*, QThread*>> proxies;
public:
bool loadPlugin(QObject *proxy);
QStringList getProxies();
signals:
void error(QString err);
void message(http::Flow flow);
};
}