Files
DbWebserver-helloworldplugin/helloworldplugin.cpp
T

21 lines
409 B
C++
Raw 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");
}
2018-09-22 07:23:29 +02:00
WebApplication *HelloWorldPlugin::createApplication(const QJsonObject &config, WebServer &webServer) const
2018-09-17 19:24:38 +02:00
{
2018-09-22 07:23:29 +02:00
return new HelloWorldApplication(config, webServer);
2018-09-17 19:24:38 +02:00
}