21 #ifndef QGSSERVERINTERFACE_H 22 #define QGSSERVERINTERFACE_H 24 #include "qgsconfig.h" 29 #include "qgsserversettings.h" 30 #ifdef HAVE_SERVER_PYTHON_PLUGINS 32 #include "qgsaccesscontrol.h" 34 class QgsAccessControl;
38 #include "qgis_server.h" 64 virtual ~QgsServerInterface() =
default;
78 virtual void clearRequestHandler() = 0
SIP_SKIP;
116 virtual void registerAccessControl(
QgsAccessControlFilter *accessControl SIP_TRANSFER,
int priority = 0 ) = 0;
119 virtual QgsAccessControl *accessControls()
const = 0;
122 virtual QString getEnv(
const QString &name )
const = 0;
128 virtual QString configFilePath() = 0;
134 virtual void setConfigFilePath(
const QString &configFilePath ) = 0;
140 virtual void removeConfigCacheEntry(
const QString &path ) = 0;
146 virtual void removeProjectLayers(
const QString &path ) = 0;
160 virtual QgsServerSettings *serverSettings() = 0
SIP_SKIP;
164 QgsServerInterface();
167 QString mConfigFilePath;
170 #endif // QGSSERVERINTERFACE_H
#define SIP_IF_MODULE(condition)
Class defining I/O filters for QGIS Server and implemented in plugins.
Class defining access control interface for QGIS Server plugins.
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
#define SIP_KEEPREFERENCE
This class is an interface hiding the details of reading input and writing output from/to a wms reque...
A cache for capabilities xml documents (by configuration file path)
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
QgsServiceRegistry Class defining the registry manager for QGIS server services.