62 QgsService *getService(
const QString &name,
const QString &version = QString() );
95 int unregisterApi(
const QString &name,
const QString &version = QString() );
113 QgsServerApi *getApi(
const QString &name,
const QString &version = QString() );
125 int unregisterService(
const QString &name,
const QString &version = QString() );
132 void init(
const QString &nativeModulepath,
QgsServerInterface *serverIface =
nullptr );
142 typedef QHash<QString, std::shared_ptr<QgsService>> ServiceTable;
143 typedef QHash<QString, std::shared_ptr<QgsServerApi>> ApiTable;
144 typedef QHash<QString, QPair<QString, QString>> VersionTable;
148 ServiceTable mServices;
149 VersionTable mServiceVersions;
151 VersionTable mApiVersions;