Skip to content
Permalink
Browse files
[FEATURE] GPS Tracking widget added. This is a bug fix for a missing …
…file that should have been updated in last commit

git-svn-id: http://svn.osgeo.org/qgis/trunk@12693 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 7, 2010
1 parent 583d56b commit 7252eff01edaa7129dfac059b8993923627846c9
Showing with 8 additions and 5 deletions.
  1. +8 −5 src/app/qgsmaptooladdfeature.h
@@ -21,12 +21,15 @@ class QgsMapToolAddFeature: public QgsMapToolCapture
{
Q_OBJECT
public:
QgsMapToolAddFeature( QgsMapCanvas* canvas, enum CaptureTool tool );
QgsMapToolAddFeature( QgsMapCanvas* canvas, enum CaptureMode tool );
virtual ~QgsMapToolAddFeature();
void canvasReleaseEvent( QMouseEvent * e );
private:
/**Modifies geometry to avoid intersections with the layers specified in project properties
@return 0 in case of success, 1 if geometry is not of polygon type, 2 if avoid intersection would change the geometry type, \
3 other error during intersection removal*/
int avoidIntersectons( QgsGeometry* g );
@return 0 in case of success,
@return 1 if geometry is not of polygon type,
@return 2 if avoid intersection would change the geometry type, \
3 other error during intersection removal
@note Consider moving this into analysis lib since it is now used by QgsGpsInformation too. */
static int avoidIntersectons( QgsGeometry* g );
};

0 comments on commit 7252eff

Please sign in to comment.