18#ifndef QGSPROVIDERSUBLAYERTASKTASK_H
19#define QGSPROVIDERSUBLAYERTASKTASK_H
22#include <QReadWriteLock>
63 QList<QgsProviderSublayerDetails> results()
const;
75 bool mIncludeSystemTables =
false;
77 std::unique_ptr< QgsFeedback > mFeedback;
79 QList<QgsProviderSublayerDetails> mResults;
81 mutable QReadWriteLock mLock;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Contains details about a sub layer available from a dataset.
A QgsTask which retrieves sublayer details for a URI.
~QgsProviderSublayerTask() override
Abstract base class for long running background tasks.
virtual bool run()=0
Performs the task's operation.
virtual void cancel()
Notifies the task that it should terminate.