18#ifndef QGSPROCESSINGMODELPROVIDER_H
19#define QGSPROCESSINGMODELPROVIDER_H
24#include <QDomDocument>
27class QgsProcessingModelAlgorithm;
44 QString
name()
const override;
45 QString
id()
const override;
46 QIcon
icon()
const override;
55 void onProviderAdded(
const QString &providerId );
58 void loadFromFolder(
const QString &folder );
60 bool mIsLoading =
false;
QgsProcessingModelProvider(QObject *parent=nullptr)
Constructor for QgsProcessingModelProvider.
virtual QIcon icon() const
Returns an icon for the provider.
virtual QString name() const =0
Returns the provider name, which is used to describe the provider within the GUI.
QgsProcessingProvider(QObject *parent=nullptr)
Constructor for QgsProcessingProvider.
virtual QString svgIconPath() const
Returns a path to an SVG version of the provider's icon.
virtual QString id() const =0
Returns the unique provider id, used for identifying the provider.
virtual bool load()
Loads the provider.
virtual void loadAlgorithms()=0
Loads all algorithms belonging to this provider.
virtual bool supportsNonFileBasedOutput() const
Returns true if the provider supports non-file based outputs (such as memory layers or direct databas...