Skip to content

Commit

Permalink
use enum forward declaration in QgisInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 25, 2019
1 parent f453142 commit 1dc535d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
4 changes: 3 additions & 1 deletion src/app/qgisappinterface.h
Expand Up @@ -18,9 +18,11 @@
#ifndef QGISIFACE_H
#define QGISIFACE_H

#include "qgis_app.h"
#include "qgisinterface.h"
#include "qgsapppluginmanagerinterface.h"
#include "qgis_app.h"

class QTimer;

class QgisApp;

Expand Down
20 changes: 11 additions & 9 deletions src/gui/qgisinterface.h
Expand Up @@ -18,7 +18,17 @@
#ifndef 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 QDialog;
class QFont;
class QMenu;
class QToolBar;
class QDockWidget;
Expand All @@ -37,6 +47,7 @@ class QgsMasterLayoutInterface;
class QgsLayoutDesignerInterface;
class QgsMapCanvas;
class QgsMapLayer;
enum class QgsMapLayerType;
class QgsMapLayerConfigWidgetFactory;
class QgsMessageBar;
class QgsPluginManagerInterface;
Expand All @@ -50,15 +61,6 @@ class QgsStatusBar;
class QgsMeshLayer;
class QgsBrowserModel;

#include <QObject>
#include <QFont>
#include <QPair>
#include <map>

#include "qgis_sip.h"
#include "qgsmaplayer.h"
#include "qgis_gui.h"


/**
* \ingroup gui
Expand Down

0 comments on commit 1dc535d

Please sign in to comment.