QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsprovidermetadata.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgsprovidermetadata.cpp - 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 #include "qgsprovidermetadata.h"
20 
21 
22 
24  QString const & _description,
25  QString const & _library )
26  : key_( _key ),
27  description_( _description ),
28  library_( _library )
29 {}
30 
31 QString const & QgsProviderMetadata::key() const
32 {
33  return key_;
34 }
35 
36 QString const & QgsProviderMetadata::description() const
37 {
38  return description_;
39 }
40 
41 QString const & QgsProviderMetadata::library() const
42 {
43  return library_;
44 }