00001 /*************************************************************************** 00002 qgspluginmetadata.h - Metadata class for 00003 describing a loaded plugin. 00004 ------------------- 00005 begin : Fri Feb 6 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: qgspluginmetadata.h 6415 2007-01-09 02:39:15Z wonder $ */ 00019 00020 #ifndef QGSPLUGINMETADATA_H 00021 #define QGSPLUGINMETADATA_H 00022 class QgisPlugin; 00023 class QString; 00030 class QgsPluginMetadata 00031 { 00032 public: 00033 QgsPluginMetadata(QString _libraryPath, QString _name, QgisPlugin *_plugin, bool _python=false); 00034 QString name(); 00035 QString library(); 00036 QgisPlugin *plugin(); 00037 bool isPython(); 00038 private: 00039 QString m_name; 00040 QString libraryPath; 00041 QgisPlugin *m_plugin; 00042 bool m_python; 00043 }; 00044 #endif //QGSPLUGINMETADATA_H 00045