Skip to content

Commit

Permalink
include guard
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 26, 2024
1 parent 8c5210c commit 91514a6
Show file tree
Hide file tree
Showing 20 changed files with 99 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/3d/terrain/qgsquantizedmeshterraingenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

#pragma once

#ifndef QGSQUANTIZEDMESHTERRAINGENERATOR_H
#define QGSQUANTIZEDMESHTERRAINGENERATOR_H

#include "qgschunknode.h"
#include "qgscoordinatetransform.h"
#include "qgsmaplayerref.h"
Expand Down Expand Up @@ -74,3 +77,5 @@ class _3D_EXPORT QgsQuantizedMeshTerrainGenerator : public QgsTerrainGenerator
QgsQuantizedMeshTerrainGenerator( QgsMapLayerRef layerRef, const QgsQuantizedMeshMetadata &metadata );
QgsTileXYZ nodeIdToTile( QgsChunkNodeId nodeId ) const;
};

#endif // QGSQUANTIZEDMESHTERRAINGENERATOR_H
5 changes: 5 additions & 0 deletions src/app/3d/qgsshadowrenderingsettingswidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifndef SHADOWRENDERINGSETTINGSWIDGET_H
#define SHADOWRENDERINGSETTINGSWIDGET_H

#ifndef QGSSHADOWRENDERINGSETTINGSWIDGET_H
#define QGSSHADOWRENDERINGSETTINGSWIDGET_H

#include "ui_shadowrenderingsettingswidget.h"

#include "qgsshadowsettings.h"
Expand All @@ -38,3 +41,5 @@ class QgsShadowRenderingSettingsWidget : public QWidget, private Ui::ShadowRende
};

#endif // SHADOWRENDERINGSETTINGSWIDGET_H

#endif // QGSSHADOWRENDERINGSETTINGSWIDGET_H
5 changes: 5 additions & 0 deletions src/app/3d/qgsskyboxrenderingsettingswidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifndef SKYBOXRENDERINGSETTINGSWIDGET_H
#define SKYBOXRENDERINGSETTINGSWIDGET_H

#ifndef QGSSKYBOXRENDERINGSETTINGSWIDGET_H
#define QGSSKYBOXRENDERINGSETTINGSWIDGET_H

#include "ui_skyboxrenderingsettingswidget.h"

#include "qgsskyboxsettings.h"
Expand All @@ -39,3 +42,5 @@ class QgsSkyboxRenderingSettingsWidget : public QWidget, private Ui::SkyboxRende
};

#endif // SKYBOXRENDERINGSETTINGSWIDGET_H

#endif // QGSSKYBOXRENDERINGSETTINGSWIDGET_H
5 changes: 5 additions & 0 deletions src/app/georeferencer/qgsmapcoordsdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
#ifndef MAPCOORDSDIALOG_H
#define MAPCOORDSDIALOG_H

#ifndef QGSMAPCOORDSDIALOG_H
#define QGSMAPCOORDSDIALOG_H

#include <QDialog>

#include "qgsmaptoolemitpoint.h"
Expand Down Expand Up @@ -111,3 +114,5 @@ class QgsMapCoordsDialog : public QDialog, private Ui::QgsMapCoordsDialogBase
};

#endif

#endif // QGSMAPCOORDSDIALOG_H
5 changes: 5 additions & 0 deletions src/app/qgsmaptooladdfeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* *
***************************************************************************/

#ifndef QGSMAPTOOLADDFEATURE_H
#define QGSMAPTOOLADDFEATURE_H

#include "qgsmaptooldigitizefeature.h"
#include "qgis_app.h"

Expand Down Expand Up @@ -51,3 +54,5 @@ class APP_EXPORT QgsMapToolAddFeature : public QgsMapToolDigitizeFeature
*/
bool mCheckGeometryType;
};

#endif // QGSMAPTOOLADDFEATURE_H
5 changes: 5 additions & 0 deletions src/app/qgsmaptooladdpart.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* *
***************************************************************************/

#ifndef QGSMAPTOOLADDPART_H
#define QGSMAPTOOLADDPART_H

#include "qgsmaptoolcapturelayergeometry.h"
#include "qgis_app.h"

Expand Down Expand Up @@ -47,3 +50,5 @@ class APP_EXPORT QgsMapToolAddPart : public QgsMapToolCaptureLayerGeometry

void finalizeEditCommand( QgsVectorLayer *layer, Qgis::GeometryOperationResult errorCode );
};

#endif // QGSMAPTOOLADDPART_H
5 changes: 5 additions & 0 deletions src/app/qgsmaptooladdring.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* *
***************************************************************************/

#ifndef QGSMAPTOOLADDRING_H
#define QGSMAPTOOLADDRING_H

#include "qgsmaptoolcapture.h"
#include "qgis_app.h"

Expand All @@ -31,3 +34,5 @@ class APP_EXPORT QgsMapToolAddRing: public QgsMapToolCapture
QgsVectorLayer *getCheckLayer();
void polygonCaptured( const QgsCurvePolygon *polygon ) override;
};

#endif // QGSMAPTOOLADDRING_H
5 changes: 5 additions & 0 deletions src/app/qgsmaptoolfillring.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* *
***************************************************************************/

#ifndef QGSMAPTOOLFILLRING_H
#define QGSMAPTOOLFILLRING_H

#include "qgsmaptoolcapture.h"
#include "qgis_app.h"

Expand All @@ -40,3 +43,5 @@ class APP_EXPORT QgsMapToolFillRing: public QgsMapToolCapture

QgsVectorLayer *getCheckLayer();
};

#endif // QGSMAPTOOLFILLRING_H
5 changes: 5 additions & 0 deletions src/app/qgsprojectproperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
***************************************************************************/


#ifndef QGSPROJECTPROPERTIES_H
#define QGSPROJECTPROPERTIES_H

#include "ui_qgsprojectpropertiesbase.h"

#include "qgsoptionsdialogbase.h"
Expand Down Expand Up @@ -305,3 +308,5 @@ class APP_EXPORT QgsProjectProperties : public QgsOptionsDialogBase, private Ui:

friend class TestQgsProjectProperties;
};

#endif // QGSPROJECTPROPERTIES_H
4 changes: 4 additions & 0 deletions src/core/providers/memory/qgsmemoryprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* *
***************************************************************************/

#ifndef QGSMEMORYPROVIDER_H
#define QGSMEMORYPROVIDER_H

#define SIP_NO_FILE

#include "qgsvectordataprovider.h"
Expand Down Expand Up @@ -113,3 +116,4 @@ class QgsMemoryProviderMetadata final: public QgsProviderMetadata
};

///@endcond
#endif // QGSMEMORYPROVIDER_H
5 changes: 5 additions & 0 deletions src/gui/qgsdial.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
* *
***************************************************************************/

#ifndef QGSDIAL_H
#define QGSDIAL_H

#include <QDial>
#include <QVariant>
#include "qgis_gui.h"
Expand Down Expand Up @@ -57,3 +60,5 @@ class GUI_EXPORT QgsDial : public QDial

QVariant mMin, mMax, mStep, mValue;
};

#endif // QGSDIAL_H
5 changes: 5 additions & 0 deletions src/gui/qgsnewvectorlayerdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#ifndef qgsnewvectorlayerdialog_H
#define qgsnewvectorlayerdialog_H

#ifndef QGSNEWVECTORLAYERDIALOG_H
#define QGSNEWVECTORLAYERDIALOG_H

#include "ui_qgsnewvectorlayerdialogbase.h"
#include "qgsguiutils.h"
#include "qgshelp.h"
Expand Down Expand Up @@ -135,3 +138,5 @@ class GUI_EXPORT QgsNewVectorLayerDialog: public QDialog, private Ui::QgsNewVect
};

#endif //qgsnewvectorlayerdialog_H

#endif // QGSNEWVECTORLAYERDIALOG_H
5 changes: 5 additions & 0 deletions src/gui/qgsslider.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
* *
***************************************************************************/

#ifndef QGSSLIDER_H
#define QGSSLIDER_H

#include <QSlider>
#include "qgis_sip.h"
#include <QVariant>
Expand Down Expand Up @@ -57,3 +60,5 @@ class GUI_EXPORT QgsSlider : public QSlider

QVariant mMin, mMax, mStep, mValue;
};

#endif // QGSSLIDER_H
5 changes: 5 additions & 0 deletions src/gui/symbology/characterwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
#ifndef CHARACTERWIDGET_H
#define CHARACTERWIDGET_H

#ifndef CHARACTERWIDGET_H
#define CHARACTERWIDGET_H

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

Expand Down Expand Up @@ -165,3 +168,5 @@ class GUI_EXPORT CharacterWidget : public QWidget
};

#endif

#endif // CHARACTERWIDGET_H
5 changes: 5 additions & 0 deletions src/plugins/topology/checkDock.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#ifndef CHECKDOCK_H
#define CHECKDOCK_H

#ifndef CHECKDOCK_H
#define CHECKDOCK_H

#include "qgsdockwidget.h"

#include "qgsgeometry.h"
Expand Down Expand Up @@ -172,3 +175,5 @@ class checkDock : public QgsDockWidget, private Ui::checkDock
};

#endif

#endif // CHECKDOCK_H
5 changes: 5 additions & 0 deletions src/plugins/topology/dockModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#ifndef DOCKMODEL_H
#define DOCKMODEL_H

#ifndef DOCKMODEL_H
#define DOCKMODEL_H

#include <QAbstractTableModel>
#include <QSortFilterProxyModel>
#include <QModelIndex>
Expand Down Expand Up @@ -129,3 +132,5 @@ class DockFilterModel : public QSortFilterProxyModel
};

#endif

#endif // DOCKMODEL_H
5 changes: 5 additions & 0 deletions src/plugins/topology/rulesDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#ifndef RULESDIALOG_H_
#define RULESDIALOG_H_

#ifndef RULESDIALOG_H
#define RULESDIALOG_H

#include <QDialog>
#include <QMenu>

Expand Down Expand Up @@ -112,3 +115,5 @@ class rulesDialog : public QDialog, private Ui::rulesDialog
};

#endif

#endif // RULESDIALOG_H
5 changes: 5 additions & 0 deletions src/plugins/topology/topol.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
#define TOPOL_H

//QT includes
#ifndef TOPOL_H
#define TOPOL_H

#include <QObject>

//QGIS includes
Expand Down Expand Up @@ -106,3 +109,5 @@ class Topol: public QObject, public QgisPlugin
};

#endif //Topol_H

#endif // TOPOL_H
5 changes: 5 additions & 0 deletions src/plugins/topology/topolTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#ifndef TOPOLTEST_H
#define TOPOLTEST_H

#ifndef TOPOLTEST_H
#define TOPOLTEST_H

#include <QObject>

#include "qgsgeometry.h"
Expand Down Expand Up @@ -260,3 +263,5 @@ class topolTest: public QObject
};

#endif

#endif // TOPOLTEST_H
5 changes: 5 additions & 0 deletions src/providers/oracle/ocispatial/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
**
****************************************************************************/

#ifndef MAIN_H
#define MAIN_H

#include <qsqldriverplugin.h>
#include "qsql_ocispatial.h"

Expand All @@ -54,3 +57,5 @@ class QOCISpatialDriverPlugin : public QSqlDriverPlugin

QSqlDriver *create( const QString & ) override;
};

#endif // MAIN_H

0 comments on commit 91514a6

Please sign in to comment.