67 QgsService *getService(
const QString &name,
const QString &version = QString() );
100 int unregisterApi(
const QString &name,
const QString &version = QString() );
118 QgsServerApi *getApi(
const QString &name,
const QString &version = QString() );
130 int unregisterService(
const QString &name,
const QString &version = QString() );
137 void init(
const QString &nativeModulepath,
QgsServerInterface *serverIface =
nullptr );
148 typedef QHash<QString, std::shared_ptr<QgsService> > ServiceTable;
149 typedef QHash<QString, std::shared_ptr<QgsServerApi> > ApiTable;
150 typedef QHash<QString, QPair<QString, QString> > VersionTable;
154 ServiceTable mServices;
155 VersionTable mServiceVersions;
157 VersionTable mApiVersions;