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 /* $Id$ */ 00019 00020 #include "qgsprovidermetadata.h" 00021 00022 00023 00024 QgsProviderMetadata::QgsProviderMetadata( QString const & _key, 00025 QString const & _description, 00026 QString const & _library ) 00027 : key_( _key ), 00028 description_( _description ), 00029 library_( _library ) 00030 {} 00031 00032 QString const & QgsProviderMetadata::key() const 00033 { 00034 return key_; 00035 } 00036 00037 QString const & QgsProviderMetadata::description() const 00038 { 00039 return description_; 00040 } 00041 00042 QString const & QgsProviderMetadata::library() const 00043 { 00044 return library_; 00045 }