16#ifndef QGSPROJECTSTORAGEREGISTRY_H
17#define QGSPROJECTSTORAGEREGISTRY_H
55 QHash<QString, QgsProjectStorage *> mBackends;
Registry of storage backends that QgsProject may use.
QgsProjectStorage * projectStorageFromUri(const QString &uri)
Returns storage implementation if the URI matches one. Returns nullptr otherwise (it is a normal file...
void unregisterProjectStorage(QgsProjectStorage *storage)
Unregisters a storage backend and destroys its instance.
void registerProjectStorage(QgsProjectStorage *storage)
Registers a storage backend and takes ownership of it.
QgsProjectStorage * projectStorageFromType(const QString &type)
Returns storage implementation if the storage type matches one. Returns nullptr otherwise (it is a no...
QList< QgsProjectStorage * > projectStorages() const
Returns a list of registered project storage implementations.
Abstract interface for project storage - to be implemented by various backends and registered in QgsP...