2018-09-17 19:25:45 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "webplugin.h"
|
|
|
|
|
|
|
|
|
|
class ProxyPlugin : public WebPlugin
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
Q_PLUGIN_METADATA(IID "dbsoftware.webserver.plugin/1.0" FILE "proxyplugin.json")
|
|
|
|
|
Q_INTERFACES(WebPlugin)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
ProxyPlugin(QObject *parent = Q_NULLPTR);
|
|
|
|
|
|
|
|
|
|
QString pluginName() const Q_DECL_OVERRIDE;
|
2018-09-22 07:23:57 +02:00
|
|
|
WebApplication *createApplication(const QJsonObject &config, WebServer &webServer) const Q_DECL_OVERRIDE;
|
2018-09-17 19:25:45 +02:00
|
|
|
};
|