64 QgsService *getService(
const QString &name,
const QString &version = QString() );
97 int unregisterApi(
const QString &name,
const QString &version = QString() );
115 QgsServerApi *getApi(
const QString &name,
const QString &version = QString() );
127 int unregisterService(
const QString &name,
const QString &version = QString() );
134 void init(
const QString &nativeModulepath,
QgsServerInterface *serverIface =
nullptr );
145 typedef QHash<QString, std::shared_ptr<QgsService> > ServiceTable;
146 typedef QHash<QString, std::shared_ptr<QgsServerApi> > ApiTable;
147 typedef QHash<QString, QPair<QString, QString> > VersionTable;
151 ServiceTable mServices;
152 VersionTable mServiceVersions;
154 VersionTable mApiVersions;