QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  const QString & key() const;
48 
53  const QString & description() const;
54 
59  const 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 
QString key_
unique key for data provider
QString description_
associated terse description
QString library_
file path
Holds data provider key, description, and associated shared library file information.