18 #ifndef QGSPROCESSINGPROVIDER_H
19 #define QGSPROCESSINGPROVIDER_H
21 #include "qgis_core.h"
46 FlagDeemphasiseSearchResults = 1 << 1,
48 Q_DECLARE_FLAGS( Flags, Flag )
66 virtual QIcon icon()
const;
72 virtual QString svgIconPath()
const;
79 virtual Flags flags()
const;
88 virtual QString id()
const = 0;
96 virtual QString helpId()
const;
104 virtual QString name()
const = 0;
116 virtual QString longName()
const;
126 virtual QString versionInfo()
const;
156 virtual QStringList supportedOutputRasterLayerExtensions()
const;
165 virtual QStringList supportedOutputVectorLayerExtensions()
const;
180 virtual QStringList supportedOutputTableExtensions()
const;
205 virtual QString defaultVectorFileExtension(
bool hasGeometry =
true )
const;
218 virtual QString defaultRasterFileExtension()
const;
233 virtual bool supportsNonFileBasedOutput()
const;
244 virtual bool load() { refreshAlgorithms();
return true; }
255 void refreshAlgorithms();
261 QList< const QgsProcessingAlgorithm * > algorithms()
const;
277 void algorithmsLoaded();
285 virtual void loadAlgorithms() = 0;
294 QMap< QString, const QgsProcessingAlgorithm * > mAlgorithms;
301 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsProcessingProvider::Flags )
303 #endif // QGSPROCESSINGPROVIDER_H