Skip to content

Commit

Permalink
add flags and isCompatible to QgsGeometryCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and m-kuhn committed Oct 15, 2018
1 parent 0b20ae6 commit 1df0a3e
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/analysis/vector/geometry_checker/qgsgeometrycheckfactory.cpp
@@ -1,29 +0,0 @@
/***************************************************************************
qgsgeometrycheckfactory.cpp
--------------------------------------
Date : September 2018
Copyright : (C) 2018 Matthias Kuhn
Email : matthias@opengis.ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#include "qgsgeometrycheckfactory.h"

#include "qgis.h"

bool QgsGeometryCheckFactory::isCompatible( QgsVectorLayer *layer ) const
{
Q_UNUSED( layer );
return true;
}

QgsGeometryCheck::Flags QgsGeometryCheckFactory::flags() const
{
return QgsGeometryCheck::Flags( QgsGeometryCheck::SingleGeometryCheck | QgsGeometryCheck::AvailableInValidation );
}

0 comments on commit 1df0a3e

Please sign in to comment.