Skip to content

Commit

Permalink
completely hide parameter type definition from SIP
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 2, 2020
1 parent 3feb0ad commit ee241ed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 32 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -71,38 +71,6 @@ Converts a single input layer to QVariant representation (a QVariantMap)
}; };




class QgsProcessingParameterTypeDxfLayers : QgsProcessingParameterType
{
%Docstring
Parameter type definition for QgsProcessingParameterDxfLayers.

.. note::

This class is not a part of public API.

.. versionadded:: 3.18
%End

%TypeHeaderCode
#include "qgsprocessingparameterdxflayers.h"
%End
public:
virtual QgsProcessingParameterDefinition *create( const QString &name ) const /Factory/;

virtual QString description() const;

virtual QString name() const;

virtual QString id() const;

virtual QString pythonImportString() const;

virtual QString className() const;

virtual QStringList acceptedPythonTypes() const;
};


/************************************************************************ /************************************************************************
* This file has been generated automatically from * * This file has been generated automatically from *
* * * *
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ their acceptable ranges, defaults, etc.
%End %End
%TypeHeaderCode %TypeHeaderCode
#include "qgsprocessingparameteraggregate.h" #include "qgsprocessingparameteraggregate.h"
#include "qgsprocessingparameterdxflayers.h"
#include "qgsprocessingparameterfieldmap.h" #include "qgsprocessingparameterfieldmap.h"
#include "qgsprocessingparametertininputlayers.h" #include "qgsprocessingparametertininputlayers.h"
#include "qgsprocessingparametervectortilewriterlayers.h" #include "qgsprocessingparametervectortilewriterlayers.h"
Expand Down
2 changes: 2 additions & 0 deletions src/core/processing/qgsprocessingparameterdxflayers.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class CORE_EXPORT QgsProcessingParameterDxfLayers : public QgsProcessingParamete
static QVariantMap layerAsVariantMap( const QgsDxfExport::DxfLayer &layer ); static QVariantMap layerAsVariantMap( const QgsDxfExport::DxfLayer &layer );
}; };


#ifndef SIP_RUN
///@cond PRIVATE ///@cond PRIVATE


/** /**
Expand Down Expand Up @@ -121,5 +122,6 @@ class CORE_EXPORT QgsProcessingParameterTypeDxfLayers : public QgsProcessingPara
}; };


///@endcond ///@endcond
#endif


#endif // QGSPROCESSINGPARAMETERDXFLAYERS_H #endif // QGSPROCESSINGPARAMETERDXFLAYERS_H
1 change: 1 addition & 0 deletions src/core/processing/qgsprocessingparameters.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ class CORE_EXPORT QgsProcessingParameterDefinition
#ifdef SIP_RUN #ifdef SIP_RUN
% TypeHeaderCode % TypeHeaderCode
#include "qgsprocessingparameteraggregate.h" #include "qgsprocessingparameteraggregate.h"
#include "qgsprocessingparameterdxflayers.h"
#include "qgsprocessingparameterfieldmap.h" #include "qgsprocessingparameterfieldmap.h"
#include "qgsprocessingparametertininputlayers.h" #include "qgsprocessingparametertininputlayers.h"
#include "qgsprocessingparametervectortilewriterlayers.h" #include "qgsprocessingparametervectortilewriterlayers.h"
Expand Down

0 comments on commit ee241ed

Please sign in to comment.