rssguard/src/librssguard/network-web/urlinterceptor.h

18 lines
417 B
C++

// For license of this file, see <project-root-folder>/LICENSE.md.
#ifndef URLINTERCEPTOR_H
#define URLINTERCEPTOR_H
#include <QObject>
#include <QWebEngineUrlRequestInfo>
class UrlInterceptor : public QObject {
Q_OBJECT
public:
explicit UrlInterceptor(QObject* parent = nullptr) : QObject(parent) { }
virtual void interceptRequest(QWebEngineUrlRequestInfo& info) = 0;
};
#endif // URLINTERCEPTOR_H