20 lines
368 B
C++
20 lines
368 B
C++
#include "proxyplugin.h"
|
|
|
|
#include "proxyapplication.h"
|
|
|
|
ProxyPlugin::ProxyPlugin(QObject *parent) :
|
|
WebPlugin(parent)
|
|
{
|
|
|
|
}
|
|
|
|
QString ProxyPlugin::pluginName() const
|
|
{
|
|
return QStringLiteral("proxy");
|
|
}
|
|
|
|
WebApplication *ProxyPlugin::createApplication(const QJsonObject &config, WebServer &webServer) const
|
|
{
|
|
return new ProxyApplication(config, webServer);
|
|
}
|