1
/***************************************************************************
2
qgsproviderregistry.h - Singleton class for
3
registering data providers.
5
begin : Sat Jan 10 2004
6
copyright : (C) 2004 by Gary E.Sherman
7
email : sherman at mrcc.com
8
***************************************************************************/
10
/***************************************************************************
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
17
***************************************************************************/
18
/* $Id: qgsproviderregistry.h,v 1.4 2004/01/29 02:21:56 gsherman Exp $ */
20
#ifndef QGSPROVIDERREGISTRY_H
21
#define QGSPROVIDERREGISTRY_H
23
class QgsProviderMetadata;
26
class QgsProviderRegistry
29
static QgsProviderRegistry* instance(const char *pluginPath=0);
30
QString library(QString providerKey);
31
QString pluginList(bool asHtml=false);
32
QString libDirectory();
33
void setLibDirectory(QString path);
35
QgsProviderRegistry(const char *pluginPath);
37
static QgsProviderRegistry* _instance;
38
std::map<QString,QgsProviderMetadata*> provider;
39
//! directory provider plugins are installed in
42
#endif //QGSPROVIDERREGISTRY_H