QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgsprovidermetadata.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsprovidermetadata.h - Metadata class for
3  describing a data provider.
4  -------------------
5  begin : Sat Jan 10 2004
6  copyright : (C) 2004 by Gary E.Sherman
7  email : sherman at mrcc.com
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
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. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef QGSPROVIDERMETADATA_H
20 #define QGSPROVIDERMETADATA_H
21 
22 
23 #include <QString>
24 
37 class CORE_EXPORT QgsProviderMetadata
38 {
39  public:
40 
41  QgsProviderMetadata( const QString & _key, const QString & _description, const QString & _library );
42 
47  QString key() const;
48 
53  QString description() const;
54 
59  QString library() const;
60 
61  private:
62 
64  QString key_;
65 
67  QString description_;
68 
70  QString library_;
71 
72 }; // class QgsProviderMetadata
73 
74 #endif //QGSPROVIDERMETADATA_H
75 
Holds data provider key, description, and associated shared library file information.