Imported existing sources
This commit is contained in:
1 parent
5634a187a0
commit
3426433a22
26 files changed
+1011
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include "webserverlib_global.h"
|
||||
|
||||
class QJsonObject;
|
||||
|
||||
class WebApplication;
|
||||
|
||||
class WEBSERVERLIB_EXPORT WebPlugin : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
WebPlugin(QObject *parent = Q_NULLPTR);
|
||||
|
||||
virtual QString pluginName() const = 0;
|
||||
virtual WebApplication *createApplication(const QJsonObject &config) const = 0;
|
||||
};
|
||||
|
||||
Q_DECLARE_INTERFACE(WebPlugin, "dbsoftware.webserver.plugin/1.0")
|
||||
Reference in new issue
Block a user