Skip to content

Commit

Permalink
Avoid API break
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 9, 2021
1 parent 3a952a6 commit cc5cbab
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/gui/auto_generated/qgisinterface.sip.in
Expand Up @@ -593,6 +593,12 @@ Returns the native Add Point Cloud Layer action.
%Docstring
Returns the native Add ArcGIS REST Server action.
%End

virtual QAction *actionAddAmsLayer() = 0;
%Docstring
Returns the native Add ArcGIS REST Server action.
%End

virtual QAction *actionCopyLayerStyle() = 0;
virtual QAction *actionPasteLayerStyle() = 0;
virtual QAction *actionOpenTable() = 0;
Expand Down
1 change: 1 addition & 0 deletions src/app/qgisappinterface.cpp
Expand Up @@ -736,6 +736,7 @@ QAction *QgisAppInterface::actionAddXyzLayer() { return qgis->actionAddXyzLayer(
QAction *QgisAppInterface::actionAddVectorTileLayer() { return qgis->actionAddVectorTileLayer(); }
QAction *QgisAppInterface::actionAddPointCloudLayer() { return qgis->actionAddPointCloudLayer(); }
QAction *QgisAppInterface::actionAddAfsLayer() { return qgis->actionAddAfsLayer(); }
QAction *QgisAppInterface::actionAddAmsLayer() { return qgis->actionAddAfsLayer(); }
QAction *QgisAppInterface::actionCopyLayerStyle() { return qgis->actionCopyLayerStyle(); }
QAction *QgisAppInterface::actionPasteLayerStyle() { return qgis->actionPasteLayerStyle(); }
QAction *QgisAppInterface::actionOpenTable() { return qgis->actionOpenTable(); }
Expand Down
1 change: 1 addition & 0 deletions src/app/qgisappinterface.h
Expand Up @@ -250,6 +250,7 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
QAction *actionAddVectorTileLayer() override;
QAction *actionAddPointCloudLayer() override;
QAction *actionAddAfsLayer() override;
QAction *actionAddAmsLayer() override;
QAction *actionCopyLayerStyle() override;
QAction *actionPasteLayerStyle() override;
QAction *actionOpenTable() override;
Expand Down
4 changes: 4 additions & 0 deletions src/gui/qgisinterface.h
Expand Up @@ -533,6 +533,10 @@ class GUI_EXPORT QgisInterface : public QObject

//! Returns the native Add ArcGIS REST Server action.
virtual QAction *actionAddAfsLayer() = 0;

//! Returns the native Add ArcGIS REST Server action.
virtual QAction *actionAddAmsLayer() = 0;

virtual QAction *actionCopyLayerStyle() = 0;
virtual QAction *actionPasteLayerStyle() = 0;
virtual QAction *actionOpenTable() = 0;
Expand Down

0 comments on commit cc5cbab

Please sign in to comment.