QGIS API Documentation  2.99.0-Master (b8fd1fd)
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 
25 #include "qgis_core.h"
26 
39 class CORE_EXPORT QgsProviderMetadata
40 {
41  public:
42 
43  QgsProviderMetadata( const QString &_key, const QString &_description, const QString &_library );
44 
49  QString key() const;
50 
55  QString description() const;
56 
61  QString library() const;
62 
63  private:
64 
66  QString key_;
67 
69  QString description_;
70 
72  QString library_;
73 
74 }; // class QgsProviderMetadata
75 
76 #endif //QGSPROVIDERMETADATA_H
77 
Holds data provider key, description, and associated shared library file information.