Quantum GIS API Documentation  1.8
src/core/qgspluginlayer.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     qgspluginlayer.h
00003     ---------------------
00004     begin                : January 2010
00005     copyright            : (C) 2010 by Martin Dobias
00006     email                : wonder.sk at gmail.com
00007  ***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 #ifndef QGSPLUGINLAYER_H
00016 #define QGSPLUGINLAYER_H
00017 
00018 #include "qgsmaplayer.h"
00019 
00030 class CORE_EXPORT QgsPluginLayer : public QgsMapLayer
00031 {
00032     Q_OBJECT
00033 
00034   public:
00035     QgsPluginLayer( QString layerType, QString layerName = QString() );
00036 
00038     QString pluginLayerType();
00039 
00040     void setExtent( const QgsRectangle & extent );
00041 
00042   protected:
00043     QString mPluginLayerType;
00044 };
00045 
00046 #endif // QGSPLUGINLAYER_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines