use enum forward declaration in QgisInterface

This commit is contained in:
Denis Rouzaud 2019-03-09 12:55:52 +01:00
parent f45314245c
commit 1dc535d572
2 changed files with 14 additions and 10 deletions

View File

@ -18,9 +18,11 @@
#ifndef QGISIFACE_H #ifndef QGISIFACE_H
#define QGISIFACE_H #define QGISIFACE_H
#include "qgis_app.h"
#include "qgisinterface.h" #include "qgisinterface.h"
#include "qgsapppluginmanagerinterface.h" #include "qgsapppluginmanagerinterface.h"
#include "qgis_app.h"
class QTimer;
class QgisApp; class QgisApp;

View File

@ -18,7 +18,17 @@
#ifndef QGISINTERFACE_H #ifndef QGISINTERFACE_H
#define QGISINTERFACE_H #define QGISINTERFACE_H
#include <QObject>
#include <map>
#include "qgis.h"
#include "qgis_sip.h"
#include "qgis_gui.h"
#include "qgscoordinatereferencesystem.h"
class QAction; class QAction;
class QDialog;
class QFont;
class QMenu; class QMenu;
class QToolBar; class QToolBar;
class QDockWidget; class QDockWidget;
@ -37,6 +47,7 @@ class QgsMasterLayoutInterface;
class QgsLayoutDesignerInterface; class QgsLayoutDesignerInterface;
class QgsMapCanvas; class QgsMapCanvas;
class QgsMapLayer; class QgsMapLayer;
enum class QgsMapLayerType;
class QgsMapLayerConfigWidgetFactory; class QgsMapLayerConfigWidgetFactory;
class QgsMessageBar; class QgsMessageBar;
class QgsPluginManagerInterface; class QgsPluginManagerInterface;
@ -50,15 +61,6 @@ class QgsStatusBar;
class QgsMeshLayer; class QgsMeshLayer;
class QgsBrowserModel; class QgsBrowserModel;
#include <QObject>
#include <QFont>
#include <QPair>
#include <map>
#include "qgis_sip.h"
#include "qgsmaplayer.h"
#include "qgis_gui.h"
/** /**
* \ingroup gui * \ingroup gui