18#ifndef QGSPROJECTSTORAGEGUIREGISTRY_H
19#define QGSPROJECTSTORAGEGUIREGISTRY_H
79 QHash<QString, QgsProjectStorageGuiProvider *> mBackends;
Abstract interface for project storage GUI - to be implemented by various backends and registered in ...
QgsProjectStorageGuiRegistry(const QgsProjectStorageGuiRegistry &rh)=delete
QgsProjectStorageGuiProvider * projectStorageFromType(const QString &type)
Returns storage implementation if the storage type matches one. Returns nullptr otherwise (it is a no...
void unregisterProjectStorage(QgsProjectStorageGuiProvider *storage)
Unregisters a storage backend and destroys its instance.
QList< QgsProjectStorageGuiProvider * > projectStorages() const
Returns a list of registered project storage implementations.
void registerProjectStorage(QgsProjectStorageGuiProvider *storage)
Registers a storage backend and takes ownership of it.
QgsProjectStorageGuiRegistry & operator=(const QgsProjectStorageGuiRegistry &rh)=delete
void initializeFromProviderGuiRegistry(QgsProviderGuiRegistry *providerGuiRegistry)
Initializes the registry.
QgsProjectStorageGuiProvider * projectStorageFromUri(const QString &uri)
Returns storage implementation if the URI matches one. Returns nullptr otherwise (it is a normal file...
QgsProjectStorageGuiRegistry()
A registry / canonical manager of GUI parts of data providers.