General improvement of memory handling and parent ownership of webserver classes
This commit is contained in:
1 parent
abfd38cbd2
commit
54d4ada705
10 files changed
+229
-154
No files matched your search
@@ -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")
|
||||
Reference in new issue
Block a user