19 #ifndef QGSSERVICEREGISTRY_H 20 #define QGSSERVICEREGISTRY_H 22 #include "qgsconfig.h" 28 #include "qgsservicenativeloader.h" 66 QgsService *getService(
const QString &name,
const QString &version = QString() );
90 int unregisterService(
const QString &name,
const QString &version = QString() );
97 void init(
const QString &nativeModulepath,
QgsServerInterface *serverIface =
nullptr );
107 typedef QHash<QString, std::shared_ptr<QgsService> > ServiceTable;
108 typedef QHash<QString, QPair<QString, QString> > VersionTable;
110 QgsServiceNativeLoader mNativeLoader;
112 ServiceTable mServices;
113 VersionTable mVersions;
QgsService Class defining interfaces for QGIS server services.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
QgsServiceRegistry Class defining the registry manager for QGIS server services.