Skip to content
Permalink
Browse files

add flags and isCompatible to QgsGeometryCheck

  • Loading branch information
3nids authored and m-kuhn committed Sep 20, 2018
1 parent 0b20ae6 commit 1df0a3ea70555f359dab4b543fc43e85c2d7c02d
Showing with 0 additions and 29 deletions.
  1. +0 −29 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.
You can’t perform that action at this time.