Skip to content
Permalink
Browse files

Add coordinate transform context to data provider options

First step to pass the context down into the rabbit hole.
  • Loading branch information
elpaso authored and nyalldawson committed Mar 21, 2019
1 parent f947ffb commit c21cd35fe0473b90f76f9a3b9ccbf010c40e4022
Showing with 3 additions and 2 deletions.
  1. +1 −1 python/core/auto_generated/qgsdataprovider.sip.in
  2. +2 −1 src/core/qgsdataprovider.h
@@ -58,7 +58,7 @@ Abstract base class for spatial data provider implementations.

struct ProviderOptions
{
int unused; //!< @todo remove me once there are actual members here (breaks SIP <4.19)
QgsCoordinateTransformContext coordinateTransformContext;
};

QgsDataProvider( const QString &uri = QString(), const QgsDataProvider::ProviderOptions &options = QgsDataProvider::ProviderOptions() );
@@ -24,6 +24,7 @@

//#include "qgsdataitem.h"
#include "qgsdatasourceuri.h"
#include "qgscoordinatetransformcontext.h"
#include "qgslayermetadata.h"
#include "qgserror.h"

@@ -94,7 +95,7 @@ class CORE_EXPORT QgsDataProvider : public QObject
*/
struct ProviderOptions
{
int unused; //!< @todo remove me once there are actual members here (breaks SIP <4.19)
QgsCoordinateTransformContext coordinateTransformContext;
};

/**

0 comments on commit c21cd35

Please sign in to comment.
You can’t perform that action at this time.