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 );
75 int providerCapabilities(
const QString& providerKey )
const;
77 QWidget *selectWidget(
const QString & providerKey,
78 QWidget * parent = 0, Qt::WindowFlags fl = 0 );
85 void *
function(
const QString & providerKey,
86 const QString & functionName );
88 QLibrary *providerLibrary(
const QString & providerKey )
const;
91 QStringList providerList()
const;
108 virtual QString fileVectorFilters()
const;
119 virtual QString fileRasterFilters()
const;
121 virtual QString databaseDrivers()
const;
123 virtual QString directoryDrivers()
const;
125 virtual QString protocolDrivers()
const;
127 void registerGuis( QWidget *widget );
154 typedef std::map<QString, QgsProviderMetadata*>
Providers;
164 QDir mLibraryDirectory;
174 QString mVectorFileFilters;
177 QString mRasterFileFilters;
183 QString mDatabaseDrivers;
189 QString mDirectoryDrivers;
195 QString mProtocolDrivers;
199 #endif //QGSPROVIDERREGISTRY_H