Skip to content

Commit cfcfc06

Browse files
author
timlinux
committed
[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/qgis@12693 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0c9c991 commit cfcfc06

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/app/qgsmaptooladdfeature.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ class QgsMapToolAddFeature: public QgsMapToolCapture
2121
{
2222
Q_OBJECT
2323
public:
24-
QgsMapToolAddFeature( QgsMapCanvas* canvas, enum CaptureTool tool );
24+
QgsMapToolAddFeature( QgsMapCanvas* canvas, enum CaptureMode tool );
2525
virtual ~QgsMapToolAddFeature();
2626
void canvasReleaseEvent( QMouseEvent * e );
27-
private:
27+
2828
/**Modifies geometry to avoid intersections with the layers specified in project properties
29-
@return 0 in case of success, 1 if geometry is not of polygon type, 2 if avoid intersection would change the geometry type, \
30-
3 other error during intersection removal*/
31-
int avoidIntersectons( QgsGeometry* g );
29+
@return 0 in case of success,
30+
@return 1 if geometry is not of polygon type,
31+
@return 2 if avoid intersection would change the geometry type, \
32+
3 other error during intersection removal
33+
@note Consider moving this into analysis lib since it is now used by QgsGpsInformation too. */
34+
static int avoidIntersectons( QgsGeometry* g );
3235
};

0 commit comments

Comments
 (0)