Files
DbWebserver-helloworldplugin/helloworldplugin.cpp

21 lines
409 B
C++
Raw Permalink Normal View History

2018-09-17 19:24:38 +02:00
#include "helloworldplugin.h"
#include "helloworldapplication.h"
HelloWorldPlugin::HelloWorldPlugin(QObject *parent) :
WebPlugin(parent)
{
}
QString HelloWorldPlugin::pluginName() const
{
return QStringLiteral("helloworld");
}
WebApplication *HelloWorldPlugin::createApplication(const QJsonObject &config, WebServer &webServer) const
2018-09-17 19:24:38 +02:00
{
return new HelloWorldApplication(config, webServer);
2018-09-17 19:24:38 +02:00
}