2018-09-17 19:22:53 +02:00
|
|
|
#include "fileserverplugin.h"
|
|
|
|
|
|
|
|
|
|
#include "fileserverapplication.h"
|
|
|
|
|
|
|
|
|
|
FileserverPlugin::FileserverPlugin(QObject *parent) :
|
|
|
|
|
WebPlugin(parent)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QString FileserverPlugin::pluginName() const
|
|
|
|
|
{
|
|
|
|
|
return QStringLiteral("fileserver");
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-22 07:23:06 +02:00
|
|
|
WebApplication *FileserverPlugin::createApplication(const QJsonObject &config, WebServer &webServer) const
|
2018-09-17 19:22:53 +02:00
|
|
|
{
|
2018-09-22 07:23:06 +02:00
|
|
|
return new FileserverApplication(config, webServer);
|
2018-09-17 19:22:53 +02:00
|
|
|
}
|