Skip to content

Commit 1df0a3e

Browse files
3nidsm-kuhn
authored andcommitted
add flags and isCompatible to QgsGeometryCheck
1 parent 0b20ae6 commit 1df0a3e

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed
Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +0,0 @@
1-
/***************************************************************************
2-
qgsgeometrycheckfactory.cpp
3-
--------------------------------------
4-
Date : September 2018
5-
Copyright : (C) 2018 Matthias Kuhn
6-
Email : matthias@opengis.ch
7-
***************************************************************************
8-
* *
9-
* This program is free software; you can redistribute it and/or modify *
10-
* it under the terms of the GNU General Public License as published by *
11-
* the Free Software Foundation; either version 2 of the License, or *
12-
* (at your option) any later version. *
13-
* *
14-
***************************************************************************/
15-
16-
#include "qgsgeometrycheckfactory.h"
17-
18-
#include "qgis.h"
19-
20-
bool QgsGeometryCheckFactory::isCompatible( QgsVectorLayer *layer ) const
21-
{
22-
Q_UNUSED( layer );
23-
return true;
24-
}
25-
26-
QgsGeometryCheck::Flags QgsGeometryCheckFactory::flags() const
27-
{
28-
return QgsGeometryCheck::Flags( QgsGeometryCheck::SingleGeometryCheck | QgsGeometryCheck::AvailableInValidation );
29-
}

0 commit comments

Comments
 (0)