Quantum GIS API Documentation
1.8
|
00001 /*************************************************************************** 00002 qgsprovidermetadata.cpp - Metadata class for 00003 describing a data provider. 00004 ------------------- 00005 begin : Sat Jan 10 2004 00006 copyright : (C) 2004 by Gary E.Sherman 00007 email : sherman at mrcc.com 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 #include "qgsprovidermetadata.h" 00020 00021 00022 00023 QgsProviderMetadata::QgsProviderMetadata( QString const & _key, 00024 QString const & _description, 00025 QString const & _library ) 00026 : key_( _key ), 00027 description_( _description ), 00028 library_( _library ) 00029 {} 00030 00031 QString const & QgsProviderMetadata::key() const 00032 { 00033 return key_; 00034 } 00035 00036 QString const & QgsProviderMetadata::description() const 00037 { 00038 return description_; 00039 } 00040 00041 QString const & QgsProviderMetadata::library() const 00042 { 00043 return library_; 00044 }