Add autogenerated sip file and remove =default in qgsstorebadlayerinfo.h (rejected by travis)

This commit is contained in:
Marco Hugentobler 2019-01-23 09:25:02 +01:00
parent 156cb7162d
commit b5a4875536
2 changed files with 54 additions and 2 deletions

View File

@ -0,0 +1,51 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsstorebadlayerinfo.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsStoreBadLayerInfo: QgsProjectBadLayerHandler
{
%Docstring
Stores layer ids of bad layers
.. versionadded:: 3.6
%End
%TypeHeaderCode
#include "qgsstorebadlayerinfo.h"
%End
public:
QgsStoreBadLayerInfo();
%Docstring
Default constructor
%End
void handleBadLayers( const QList<QDomNode> &layers );
%Docstring
handleBadLayers
:param layers: layer nodes
%End
QStringList badLayers() const;
%Docstring
badLayers
:return: ids of bad layers
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsstorebadlayerinfo.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

View File

@ -19,6 +19,7 @@
#define QGSSTOREBADLAYERINFO_H
#include "qgsprojectbadlayerhandler.h"
#include "qgis_server.h"
#include <QStringList>
/**
@ -26,12 +27,12 @@
* Stores layer ids of bad layers
* \since QGIS 3.6
*/
class QgsStoreBadLayerInfo: public QgsProjectBadLayerHandler
class SERVER_EXPORT QgsStoreBadLayerInfo: public QgsProjectBadLayerHandler
{
public:
/*Default constructor
*/
QgsStoreBadLayerInfo() = default;
QgsStoreBadLayerInfo(){}
/**
* \brief handleBadLayers