19 #ifndef QGSPROVIDERREGISTRY_H
20 #define QGSPROVIDERREGISTRY_H
52 QString library(
const QString & providerKey )
const;
55 QString pluginList(
bool asHtml =
false )
const;
58 const QDir & libraryDirectory()
const;
61 void setLibraryDirectory(
const QDir & path );
69 const QString & dataSource );
71 QWidget *selectWidget(
const QString & providerKey,
72 QWidget * parent = 0, Qt::WFlags fl = 0 );
79 void *
function(
const QString & providerKey,
80 const QString & functionName );
82 QLibrary *providerLibrary(
const QString & providerKey )
const;
85 QStringList providerList()
const;
102 virtual QString fileVectorFilters()
const;
114 virtual QString fileRasterFilters()
const;
118 virtual QString databaseDrivers()
const;
122 virtual QString directoryDrivers()
const;
126 virtual QString protocolDrivers()
const;
128 void registerGuis( QWidget *widget );
155 typedef std::map<QString, QgsProviderMetadata*>
Providers;
204 #endif //QGSPROVIDERREGISTRY_H