General improvement of memory handling and parent ownership of webserver classes

This commit is contained in:
0xFEEDC0DE64 committed 2018-09-22 07:22:28 +02:00
1 parent abfd38cbd2
commit 54d4ada705
10 files changed
+229 -154

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@
class QJsonObject;
class WebApplication;
class WebServer;
class WEBSERVERLIB_EXPORT WebPlugin : public QObject
{
@@ -15,7 +16,7 @@ public:
WebPlugin(QObject *parent = Q_NULLPTR);
virtual QString pluginName() const = 0;
virtual WebApplication *createApplication(const QJsonObject &config) const = 0;
virtual WebApplication *createApplication(const QJsonObject &config, WebServer &webServer) const = 0;
};
Q_DECLARE_INTERFACE(WebPlugin, "dbsoftware.webserver.plugin/1.0")