Quantum GIS API Documentation  1.8
src/core/qgspluginlayer.cpp
Go to the documentation of this file.
00001 /***************************************************************************
00002     qgspluginlayer.cpp
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 #include "qgspluginlayer.h"
00016 
00017 QgsPluginLayer::QgsPluginLayer( QString layerType, QString layerName )
00018     : QgsMapLayer( PluginLayer, layerName ), mPluginLayerType( layerType )
00019 {
00020 }
00021 
00022 QString QgsPluginLayer::pluginLayerType()
00023 {
00024   return mPluginLayerType;
00025 }
00026 
00027 void QgsPluginLayer::setExtent( const QgsRectangle & extent )
00028 {
00029   mLayerExtent = extent;
00030 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines