plugin wip
This commit is contained in:
parent
44709f0498
commit
4d020014c0
7 changed files with 80 additions and 15 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "include/api.h"
|
||||
#include "api.h"
|
||||
#include <QObject>
|
||||
|
||||
namespace http {
|
||||
|
|
@ -11,8 +11,8 @@ namespace http {
|
|||
/*!
|
||||
Interface for implementing proxies
|
||||
*/
|
||||
class ProxyInterface {
|
||||
|
||||
class ProxyInterface : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
virtual ~ProxyInterface() = default;
|
||||
//! called in a custom thread, may block.
|
||||
|
|
@ -23,9 +23,9 @@ public:
|
|||
virtual void disconnect() = 0;
|
||||
// options/settings
|
||||
signals:
|
||||
void finished();
|
||||
void error(QString err);
|
||||
void message(http::Flow flow);
|
||||
virtual void finished();
|
||||
virtual void error(QString err);
|
||||
virtual void message(http::Flow flow);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue