Skip to content

Commit

Permalink
[FEATURE] GPS Tracking widget added. This is a bug fix for a missing …
Browse files Browse the repository at this point in the history
…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 7252eff
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/app/qgsmaptooladdfeature.h
Expand Up @@ -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.