Quantum GIS API Documentation
1.7.4
|
00001 /*************************************************************************** 00002 qgsoverlayobjectpositionmanager.h - description 00003 --------------------------------- 00004 begin : January 2007 00005 copyright : (C) 2007 by Marco Hugentobler 00006 email : marco dot hugentobler at karto dot baug dot ethz dot ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QGSOVERLAYOBJECTPOSITIONMANAGER_H 00019 #define QGSOVERLAYOBJECTPOSITIONMANAGER_H 00020 00021 #include <QList> 00022 #include "qgis.h" 00023 00024 class QgsRenderContext; 00025 class QgsVectorLayer; 00026 class QgsVectorOverlay; 00027 00031 class QgsOverlayObjectPositionManager 00032 { 00033 public: 00034 //virtual destructor needed for proper memory management 00035 virtual ~QgsOverlayObjectPositionManager() {} 00038 virtual void addLayer( QgsVectorLayer* vl, QList<QgsVectorOverlay*>& overlays ) = 0; 00040 virtual void removeLayers() = 0; 00044 virtual void findObjectPositions( const QgsRenderContext& context, QGis::UnitType unitType ) = 0; 00045 }; 00046 00047 #endif