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 Apr 17, 2019
1 parent f947ffb commit c21cd35fe0473b90f76f9a3b9ccbf010c40e4022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
@@ -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.