20 lines
375 B
C++
20 lines
375 B
C++
|
|
#include "fileserverplugin.h"
|
||
|
|
|
||
|
|
#include "fileserverapplication.h"
|
||
|
|
|
||
|
|
FileserverPlugin::FileserverPlugin(QObject *parent) :
|
||
|
|
WebPlugin(parent)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
QString FileserverPlugin::pluginName() const
|
||
|
|
{
|
||
|
|
return QStringLiteral("fileserver");
|
||
|
|
}
|
||
|
|
|
||
|
|
WebApplication *FileserverPlugin::createApplication(const QJsonObject &config) const
|
||
|
|
{
|
||
|
|
return new FileserverApplication(config);
|
||
|
|
}
|