Use pragma once instead of include guards

This commit is contained in:
Michaël Lemaire 2016-07-12 19:40:45 +02:00
parent 6b805459e8
commit e884d7a216
160 changed files with 160 additions and 639 deletions

View file

@ -1,5 +1,4 @@
#ifndef BOUNDINGBOX_H
#define BOUNDINGBOX_H
#pragma once
#include "basics_global.h"
@ -24,5 +23,3 @@ class BASICSSHARED_EXPORT BoundingBox {
};
}
}
#endif // BOUNDINGBOX_H

View file

@ -1,5 +1,4 @@
#ifndef CAPPEDCYLINDER_H
#define CAPPEDCYLINDER_H
#pragma once
#include "basics_global.h"
@ -42,5 +41,3 @@ class BASICSSHARED_EXPORT CappedCylinder : public InfiniteCylinder {
};
}
}
#endif // CAPPEDCYLINDER_H

View file

@ -1,5 +1,4 @@
#ifndef COLOR_H
#define COLOR_H
#pragma once
#include "basics_global.h"
@ -65,5 +64,3 @@ BASICSSHARED_EXPORT extern const Color COLOR_WHITE;
BASICSSHARED_EXPORT extern const Color COLOR_GREY;
}
}
#endif // COLOR_H

View file

@ -1,5 +1,4 @@
#ifndef COLORHSL_H
#define COLORHSL_H
#pragma once
#include "basics_global.h"
@ -14,5 +13,3 @@ BASICSSHARED_EXPORT Color colorFromHSL(const ColorHSL &col);
BASICSSHARED_EXPORT ColorHSL colorToHSL(const Color &col);
BASICSSHARED_EXPORT ColorHSL colorHSLFromValues(double h, double s, double l, double a);
#endif // COLORHSL_H

View file

@ -1,5 +1,4 @@
#ifndef CURVE_H
#define CURVE_H
#pragma once
#include "basics_global.h"
@ -43,5 +42,3 @@ class BASICSSHARED_EXPORT Curve {
};
}
}
#endif // CURVE_H

View file

@ -1,5 +1,4 @@
#ifndef DISK_H
#define DISK_H
#pragma once
#include "basics_global.h"
@ -38,5 +37,3 @@ class BASICSSHARED_EXPORT Disk : public InfinitePlane {
};
}
}
#endif // DISK_H

View file

@ -1,5 +1,4 @@
#ifndef FRACTALNOISE_H
#define FRACTALNOISE_H
#pragma once
#include "basics_global.h"
@ -83,5 +82,3 @@ class BASICSSHARED_EXPORT FractalNoise {
};
}
}
#endif // FRACTALNOISE_H

View file

@ -1,5 +1,4 @@
#ifndef GEOMETRY_H
#define GEOMETRY_H
#pragma once
#include "basics_global.h"
@ -16,5 +15,3 @@ class BASICSSHARED_EXPORT Geometry {
};
}
}
#endif // GEOMETRY_H

View file

@ -1,5 +1,4 @@
#ifndef INFINITECYLINDER_H
#define INFINITECYLINDER_H
#pragma once
#include "basics_global.h"
@ -52,5 +51,3 @@ class BASICSSHARED_EXPORT InfiniteCylinder {
};
}
}
#endif // INFINITECYLINDER_H

View file

@ -1,5 +1,4 @@
#ifndef INFINITEPLANE_H
#define INFINITEPLANE_H
#pragma once
#include "basics_global.h"
@ -41,5 +40,3 @@ class BASICSSHARED_EXPORT InfinitePlane {
};
}
}
#endif // INFINITEPLANE_H

View file

@ -1,5 +1,4 @@
#ifndef INFINITERAY_H
#define INFINITERAY_H
#pragma once
#include "basics_global.h"
@ -41,5 +40,3 @@ class BASICSSHARED_EXPORT InfiniteRay {
};
}
}
#endif // INFINITERAY_H

View file

@ -1,5 +1,4 @@
#ifndef INTERPOLATION_H
#define INTERPOLATION_H
#pragma once
#include "basics_global.h"
@ -23,5 +22,3 @@ class BASICSSHARED_EXPORT Interpolation {
};
}
}
#endif // INTERPOLATION_H

View file

@ -1,5 +1,4 @@
#ifndef MATHS_H
#define MATHS_H
#pragma once
#include "basics_global.h"
@ -40,5 +39,3 @@ class BASICSSHARED_EXPORT Maths {
};
}
}
#endif // MATHS_H

View file

@ -1,5 +1,4 @@
#ifndef MATRIX4_H
#define MATRIX4_H
#pragma once
#include "basics_global.h"
@ -103,5 +102,3 @@ class BASICSSHARED_EXPORT Matrix4 {
};
}
}
#endif // MATRIX4_H

View file

@ -1,5 +1,4 @@
#ifndef NOISEFUNCTIONPERLIN_H
#define NOISEFUNCTIONPERLIN_H
#pragma once
#include "basics_global.h"
@ -17,5 +16,3 @@ double noisePerlinGet1DValue(double x);
double noisePerlinGet2DValue(double x, double y);
double noisePerlinGet3DValue(double x, double y, double z);
/*double noiseSimplexGet4DValue(double x, double y, double z, double w);*/
#endif // NOISEFUNCTIONPERLIN_H

View file

@ -1,5 +1,4 @@
#ifndef NOISEFUNCTIONSIMPLEX_H
#define NOISEFUNCTIONSIMPLEX_H
#pragma once
#include "basics_global.h"
@ -23,5 +22,3 @@ double noiseSimplexGet1DValue(double x);
double noiseSimplexGet2DValue(double x, double y);
double noiseSimplexGet3DValue(double x, double y, double z);
double noiseSimplexGet4DValue(double x, double y, double z, double w);
#endif // NOISEFUNCTIONSIMPLEX_H

View file

@ -1,5 +1,4 @@
#ifndef NOISEGENERATOR_H
#define NOISEGENERATOR_H
#pragma once
#include "basics_global.h"
@ -90,5 +89,3 @@ class BASICSSHARED_EXPORT NoiseGenerator {
};
}
}
#endif // NOISEGENERATOR_H

View file

@ -1,5 +1,4 @@
#ifndef NOISESTATE_H
#define NOISESTATE_H
#pragma once
#include "basics_global.h"
@ -42,5 +41,3 @@ class BASICSSHARED_EXPORT NoiseState {
};
}
}
#endif // NOISESTATE_H

View file

@ -1,5 +1,4 @@
#ifndef SPACEGRIDITERATOR_H
#define SPACEGRIDITERATOR_H
#pragma once
#include "basics_global.h"
@ -24,5 +23,3 @@ class BASICSSHARED_EXPORT SpaceGridIterator {
};
}
}
#endif // SPACEGRIDITERATOR_H

View file

@ -1,5 +1,4 @@
#ifndef SPACESEGMENT_H
#define SPACESEGMENT_H
#pragma once
#include "basics_global.h"
@ -89,5 +88,3 @@ class BASICSSHARED_EXPORT SpaceSegment {
};
}
}
#endif // SPACESEGMENT_H

View file

@ -1,5 +1,4 @@
#ifndef SPHERE_H
#define SPHERE_H
#pragma once
#include "basics_global.h"
@ -47,5 +46,3 @@ class BASICSSHARED_EXPORT Sphere {
};
}
}
#endif // SPHERE_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURE2D_H
#define TEXTURE2D_H
#pragma once
#include "basics_global.h"
@ -32,5 +31,3 @@ class BASICSSHARED_EXPORT Texture2D {
};
}
}
#endif // TEXTURE2D_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURE3D_H
#define TEXTURE3D_H
#pragma once
#include "basics_global.h"
@ -33,5 +32,3 @@ class BASICSSHARED_EXPORT Texture3D {
};
}
}
#endif // TEXTURE3D_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURE4D_H
#define TEXTURE4D_H
#pragma once
#include "basics_global.h"
@ -34,5 +33,3 @@ class BASICSSHARED_EXPORT Texture4D {
};
}
}
#endif // TEXTURE4D_H

View file

@ -1,5 +1,4 @@
#ifndef VECTOR3_H
#define VECTOR3_H
#pragma once
#include "basics_global.h"
@ -106,5 +105,3 @@ BASICSSHARED_EXPORT extern const Vector3 VECTOR_EAST;
BASICSSHARED_EXPORT extern const Vector3 VECTOR_WEST;
}
}
#endif // VECTOR3_H

View file

@ -1,5 +1,4 @@
#ifndef BASICS_GLOBAL_H
#define BASICS_GLOBAL_H
#pragma once
#include "system_global.h"
@ -33,5 +32,3 @@ class InfinitePlane;
}
}
using namespace paysages::basics;
#endif // BASICS_GLOBAL_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHEREDEFINITION_H
#define ATMOSPHEREDEFINITION_H
#pragma once
#include "definition_global.h"
@ -86,5 +85,3 @@ class DEFINITIONSHARED_EXPORT AtmosphereDefinition : public DefinitionNode {
};
}
}
#endif // ATMOSPHEREDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CAMERADEFINITION_H
#define CAMERADEFINITION_H
#pragma once
#include "definition_global.h"
@ -112,5 +111,3 @@ class DEFINITIONSHARED_EXPORT CameraDefinition : public DefinitionNode {
};
}
}
#endif // CAMERADEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CELESTIALBODYDEFINITION_H
#define CELESTIALBODYDEFINITION_H
#pragma once
#include "definition_global.h"
@ -55,5 +54,3 @@ class DEFINITIONSHARED_EXPORT CelestialBodyDefinition : public DefinitionNode {
};
}
}
#endif // CELESTIALBODYDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CLOUDLAYERDEFINITION_H
#define CLOUDLAYERDEFINITION_H
#pragma once
#include "definition_global.h"
@ -62,5 +61,3 @@ class DEFINITIONSHARED_EXPORT CloudLayerDefinition : public DefinitionNode {
};
}
}
#endif // CLOUDLAYERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CLOUDSDEFINITION_H
#define CLOUDSDEFINITION_H
#pragma once
#include "definition_global.h"
@ -21,5 +20,3 @@ class DEFINITIONSHARED_EXPORT CloudsDefinition : public Layers {
};
}
}
#endif // CLOUDSDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef COLORDIFF_H
#define COLORDIFF_H
#pragma once
#include "definition_global.h"
@ -32,5 +31,3 @@ class DEFINITIONSHARED_EXPORT ColorDiff : public DefinitionDiff {
};
}
}
#endif // COLORDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef COLORNODE_H
#define COLORNODE_H
#pragma once
#include "definition_global.h"
@ -40,5 +39,3 @@ class DEFINITIONSHARED_EXPORT ColorNode : public DefinitionNode {
};
}
}
#endif // COLORNODE_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITIONDIFF_H
#define DEFINITIONDIFF_H
#pragma once
#include "definition_global.h"
@ -39,5 +38,3 @@ class DEFINITIONSHARED_EXPORT DefinitionDiff {
};
}
}
#endif // DEFINITIONDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITIONNODE_H
#define DEFINITIONNODE_H
#pragma once
#include "definition_global.h"
@ -132,5 +131,3 @@ class DEFINITIONSHARED_EXPORT DefinitionNode {
};
}
}
#endif // DEFINITIONNODE_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITIONWATCHER_H
#define DEFINITIONWATCHER_H
#pragma once
#include "definition_global.h"
@ -63,5 +62,3 @@ class DEFINITIONSHARED_EXPORT DefinitionWatcher {
};
}
}
#endif // DEFINITIONWATCHER_H

View file

@ -1,5 +1,4 @@
#ifndef DIFFMANAGER_H
#define DIFFMANAGER_H
#pragma once
#include "definition_global.h"
@ -70,5 +69,3 @@ class DEFINITIONSHARED_EXPORT DiffManager {
};
}
}
#endif // DIFFMANAGER_H

View file

@ -1,5 +1,4 @@
#ifndef FLOATDIFF_H
#define FLOATDIFF_H
#pragma once
#include "definition_global.h"
@ -31,5 +30,3 @@ class DEFINITIONSHARED_EXPORT FloatDiff : public DefinitionDiff {
};
}
}
#endif // FLOATDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef FLOATNODE_H
#define FLOATNODE_H
#pragma once
#include "definition_global.h"
@ -41,5 +40,3 @@ class DEFINITIONSHARED_EXPORT FloatNode : public DefinitionNode {
};
}
}
#endif // FLOATNODE_H

View file

@ -1,5 +1,4 @@
#ifndef GODRAYSDEFINITION_H
#define GODRAYSDEFINITION_H
#pragma once
#include "definition_global.h"
@ -29,5 +28,3 @@ class DEFINITIONSHARED_EXPORT GodRaysDefinition : public DefinitionNode {
};
}
}
#endif // GODRAYSDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef INTDIFF_H
#define INTDIFF_H
#pragma once
#include "definition_global.h"
@ -31,5 +30,3 @@ class DEFINITIONSHARED_EXPORT IntDiff : public DefinitionDiff {
};
}
}
#endif // INTDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef INTNODE_H
#define INTNODE_H
#pragma once
#include "definition_global.h"
@ -39,5 +38,3 @@ class DEFINITIONSHARED_EXPORT IntNode : public DefinitionNode {
};
}
}
#endif // INTNODE_H

View file

@ -1,5 +1,4 @@
#ifndef LAYERS_H
#define LAYERS_H
#pragma once
#include "definition_global.h"
@ -73,5 +72,3 @@ class DEFINITIONSHARED_EXPORT Layers : public DefinitionNode {
};
}
}
#endif // LAYERS_H

View file

@ -1,5 +1,4 @@
#ifndef LAYERSDIFF_H
#define LAYERSDIFF_H
#pragma once
#include "definition_global.h"
@ -46,5 +45,3 @@ class DEFINITIONSHARED_EXPORT LayersDiff : public DefinitionDiff {
};
}
}
#endif // LAYERSDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef MATERIALNODE_H
#define MATERIALNODE_H
#pragma once
#include "definition_global.h"
@ -59,5 +58,3 @@ class DEFINITIONSHARED_EXPORT MaterialNode : public DefinitionNode {
};
}
}
#endif // MATERIALNODE_H

View file

@ -1,5 +1,4 @@
#ifndef NOISENODE_H
#define NOISENODE_H
#pragma once
#include "definition_global.h"
@ -50,5 +49,3 @@ class DEFINITIONSHARED_EXPORT NoiseNode : public DefinitionNode {
};
}
}
#endif // NOISENODE_H

View file

@ -1,5 +1,4 @@
#ifndef PAINTEDGRID_H
#define PAINTEDGRID_H
#pragma once
#include "definition_global.h"
@ -89,5 +88,3 @@ class DEFINITIONSHARED_EXPORT PaintedGrid : public DefinitionNode {
};
}
}
#endif // PAINTEDGRID_H

View file

@ -1,5 +1,4 @@
#ifndef PAINTEDGRIDBRUSH_H
#define PAINTEDGRIDBRUSH_H
#pragma once
#include "definition_global.h"
@ -98,5 +97,3 @@ class DEFINITIONSHARED_EXPORT PaintedGridBrushFlatten : public PaintedGridBrush
};
}
}
#endif // PAINTEDGRIDBRUSH_H

View file

@ -1,5 +1,4 @@
#ifndef PAINTEDGRIDDATA_H
#define PAINTEDGRIDDATA_H
#pragma once
#include "definition_global.h"
@ -48,5 +47,3 @@ class PaintedGridData {
};
}
}
#endif // PAINTEDGRIDDATA_H

View file

@ -1,5 +1,4 @@
#ifndef SCENERY_H
#define SCENERY_H
#pragma once
#include "definition_global.h"
@ -126,5 +125,3 @@ class DEFINITIONSHARED_EXPORT Scenery : public DefinitionNode {
};
}
}
#endif // SCENERY_H

View file

@ -1,5 +1,4 @@
#ifndef SURFACEMATERIAL_H
#define SURFACEMATERIAL_H
#pragma once
#include "definition_global.h"
@ -32,5 +31,3 @@ class DEFINITIONSHARED_EXPORT SurfaceMaterial {
};
}
}
#endif // SURFACEMATERIAL_H

View file

@ -1,5 +1,4 @@
#ifndef TERRAINDEFINITION_H
#define TERRAINDEFINITION_H
#pragma once
#include "definition_global.h"
@ -57,5 +56,3 @@ class DEFINITIONSHARED_EXPORT TerrainDefinition : public DefinitionNode {
};
}
}
#endif // TERRAINDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef TERRAINHEIGHTMAP_H
#define TERRAINHEIGHTMAP_H
#pragma once
#include "definition_global.h"
@ -36,5 +35,3 @@ class DEFINITIONSHARED_EXPORT TerrainHeightMap : public PaintedGrid {
};
}
}
#endif // TERRAINHEIGHTMAP_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURELAYERDEFINITION_H
#define TEXTURELAYERDEFINITION_H
#pragma once
#include "definition_global.h"
@ -58,5 +57,3 @@ class DEFINITIONSHARED_EXPORT TextureLayerDefinition : public DefinitionNode {
};
}
}
#endif // TEXTURELAYERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURESDEFINITION_H
#define TEXTURESDEFINITION_H
#pragma once
#include "definition_global.h"
@ -23,5 +22,3 @@ class DEFINITIONSHARED_EXPORT TexturesDefinition : public Layers {
};
}
}
#endif // TEXTURESDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef TIMEMANAGER_H
#define TIMEMANAGER_H
#pragma once
#include "definition_global.h"
@ -31,5 +30,3 @@ class DEFINITIONSHARED_EXPORT TimeManager {
};
}
}
#endif // TIMEMANAGER_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONDEFINITION_H
#define VEGETATIONDEFINITION_H
#pragma once
#include "definition_global.h"
@ -32,5 +31,3 @@ class DEFINITIONSHARED_EXPORT VegetationDefinition : public Layers {
};
}
}
#endif // VEGETATIONDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONINSTANCE_H
#define VEGETATIONINSTANCE_H
#pragma once
#include "definition_global.h"
@ -41,5 +40,3 @@ class DEFINITIONSHARED_EXPORT VegetationInstance {
};
}
}
#endif // VEGETATIONINSTANCE_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONLAYERDEFINITION_H
#define VEGETATIONLAYERDEFINITION_H
#pragma once
#include "definition_global.h"
@ -40,5 +39,3 @@ class DEFINITIONSHARED_EXPORT VegetationLayerDefinition : public DefinitionNode
};
}
}
#endif // VEGETATIONLAYERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONMODELDEFINITION_H
#define VEGETATIONMODELDEFINITION_H
#pragma once
#include "definition_global.h"
@ -56,5 +55,3 @@ class DEFINITIONSHARED_EXPORT VegetationModelDefinition : public DefinitionNode
};
}
}
#endif // VEGETATIONMODELDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONPRESENCEDEFINITION_H
#define VEGETATIONPRESENCEDEFINITION_H
#pragma once
#include "definition_global.h"
@ -36,5 +35,3 @@ class DEFINITIONSHARED_EXPORT VegetationPresenceDefinition : public DefinitionNo
};
}
}
#endif // VEGETATIONPRESENCEDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef WATERDEFINITION_H
#define WATERDEFINITION_H
#pragma once
#include "definition_global.h"
@ -67,5 +66,3 @@ class DEFINITIONSHARED_EXPORT WaterDefinition : public DefinitionNode {
};
}
}
#endif // WATERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef ZONE_H
#define ZONE_H
#pragma once
#include "definition_global.h"
@ -44,5 +43,3 @@ class DEFINITIONSHARED_EXPORT Zone : public DefinitionNode {
};
}
}
#endif // ZONE_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITION_GLOBAL_H
#define DEFINITION_GLOBAL_H
#pragma once
#include "basics_global.h"
@ -56,5 +55,3 @@ class TimeManager;
}
}
using namespace paysages::definition;
#endif // DEFINITION_GLOBAL_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHEREMODELER_H
#define ATMOSPHEREMODELER_H
#pragma once
#include "modeler_global.h"
@ -17,5 +16,3 @@ class AtmosphereModeler : public BaseModelerTool {
};
}
}
#endif // ATMOSPHEREMODELER_H

View file

@ -1,5 +1,4 @@
#ifndef BASEMODELERTOOL_H
#define BASEMODELERTOOL_H
#pragma once
#include "modeler_global.h"
@ -47,5 +46,3 @@ class BaseModelerTool : protected DefinitionWatcher {
};
}
}
#endif // BASEMODELERTOOL_H

View file

@ -1,5 +1,4 @@
#ifndef FLOATPROPERTYBIND_H
#define FLOATPROPERTYBIND_H
#pragma once
#include "modeler_global.h"
@ -33,5 +32,3 @@ class FloatPropertyBind : public QObject, public DefinitionWatcher {
};
}
}
#endif // FLOATPROPERTYBIND_H

View file

@ -1,5 +1,4 @@
#ifndef INTPROPERTYBIND_H
#define INTPROPERTYBIND_H
#pragma once
#include "modeler_global.h"
@ -32,4 +31,3 @@ class IntPropertyBind : public QObject, public DefinitionWatcher {
};
}
}
#endif // INTPROPERTYBIND_H

View file

@ -1,5 +1,4 @@
#ifndef MAINMODELERWINDOW_H
#define MAINMODELERWINDOW_H
#pragma once
#include "modeler_global.h"
@ -57,5 +56,3 @@ class MainModelerWindow : public QQuickView {
};
}
}
#endif // MAINMODELERWINDOW_H

View file

@ -1,5 +1,4 @@
#ifndef MODELERCAMERAS_H
#define MODELERCAMERAS_H
#pragma once
#include "modeler_global.h"
@ -77,5 +76,3 @@ class ModelerCameras : public QObject, public DefinitionWatcher {
};
}
}
#endif // MODELERCAMERAS_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVIEW_H
#define OPENGLVIEW_H
#pragma once
#include "modeler_global.h"
@ -46,5 +45,3 @@ class OpenGLView : public QQuickItem {
};
}
}
#endif // OPENGLVIEW_H

View file

@ -1,5 +1,4 @@
#ifndef PROPERTYBIND_H
#define PROPERTYBIND_H
#pragma once
#include <QObject>
@ -12,5 +11,3 @@ class PropertyBind : public QObject {
public slots:
};
#endif // PROPERTYBIND_H

View file

@ -1,5 +1,4 @@
#ifndef RENDERPREVIEWPROVIDER_H
#define RENDERPREVIEWPROVIDER_H
#pragma once
#include "modeler_global.h"
@ -52,5 +51,3 @@ class RenderPreviewProvider : public QQuickImageProvider, public CanvasLiveClien
};
}
}
#endif // RENDERPREVIEWPROVIDER_H

View file

@ -1,5 +1,4 @@
#ifndef RENDERPROCESS_H
#define RENDERPROCESS_H
#pragma once
#include "modeler_global.h"
@ -73,5 +72,3 @@ class RenderProcess : public QObject {
};
}
}
#endif // RENDERPROCESS_H

View file

@ -1,5 +1,4 @@
#ifndef WATERMODELER_H
#define WATERMODELER_H
#pragma once
#include "modeler_global.h"
@ -19,5 +18,3 @@ class WaterModeler : public QObject, public BaseModelerTool {
};
}
}
#endif // WATERMODELER_H

View file

@ -1,5 +1,4 @@
#ifndef MODELER_GLOBAL_H
#define MODELER_GLOBAL_H
#pragma once
#include "definition_global.h"
#include "software_global.h"
@ -26,5 +25,3 @@ class IntPropertyBind;
}
using namespace paysages::modeler;
#endif // MODELER_GLOBAL_H

View file

@ -1,9 +1,6 @@
#ifndef OPENGLFUNCTIONS
#define OPENGLFUNCTIONS
#pragma once
#include "opengl_global.h"
#define _OPENGL_FUNCTIONS_INCLUDE <OpenGLFunctions>
#include _OPENGL_FUNCTIONS_INCLUDE
#endif // OPENGLFUNCTIONS

View file

@ -1,5 +1,4 @@
#ifndef OPENGLPART_H
#define OPENGLPART_H
#pragma once
#include "opengl_global.h"
@ -83,5 +82,3 @@ class OPENGLSHARED_EXPORT OpenGLPart : protected DefinitionWatcher {
};
}
}
#endif // OPENGLPART_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLRENDERER_H
#define OPENGLRENDERER_H
#pragma once
#include "opengl_global.h"
@ -149,5 +148,3 @@ class OPENGLSHARED_EXPORT OpenGLRenderer : public SoftwareRenderer {
};
}
}
#endif // OPENGLRENDERER_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLSHADERPROGRAM_H
#define OPENGLSHADERPROGRAM_H
#pragma once
#include "opengl_global.h"
@ -86,5 +85,3 @@ class OPENGLSHARED_EXPORT OpenGLShaderProgram {
};
}
}
#endif // OPENGLSHADERPROGRAM_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLSHAREDSTATE_H
#define OPENGLSHAREDSTATE_H
#pragma once
#include "opengl_global.h"
@ -71,5 +70,3 @@ class OPENGLSHARED_EXPORT OpenGLSharedState {
};
}
}
#endif // OPENGLSHAREDSTATE_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLSKYBOX_H
#define OPENGLSKYBOX_H
#pragma once
#include "opengl_global.h"
@ -27,5 +26,3 @@ class OPENGLSHARED_EXPORT OpenGLSkybox : public OpenGLPart {
};
}
}
#endif // OPENGLSKYBOX_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLTERRAIN_H
#define OPENGLTERRAIN_H
#pragma once
#include "opengl_global.h"
@ -46,5 +45,3 @@ class OPENGLSHARED_EXPORT OpenGLTerrain : public OpenGLPart {
};
}
}
#endif // OPENGLTERRAIN_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLTERRAINCHUNK_H
#define OPENGLTERRAINCHUNK_H
#pragma once
#include "opengl_global.h"
@ -93,5 +92,3 @@ class OPENGLSHARED_EXPORT OpenGLTerrainChunk {
};
}
}
#endif // OPENGLTERRAINCHUNK_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVARIABLE_H
#define OPENGLVARIABLE_H
#pragma once
#include "opengl_global.h"
@ -58,5 +57,3 @@ class OPENGLSHARED_EXPORT OpenGLVariable final {
};
}
}
#endif // OPENGLVARIABLE_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATION_H
#define OPENGLVEGETATION_H
#pragma once
#include "opengl_global.h"
@ -85,5 +84,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetation : public OpenGLPart {
};
}
}
#endif // OPENGLVEGETATION_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATIONIMPOSTOR_H
#define OPENGLVEGETATIONIMPOSTOR_H
#pragma once
#include "opengl_global.h"
@ -45,5 +44,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetationImpostor {
};
}
}
#endif // OPENGLVEGETATIONIMPOSTOR_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATIONINSTANCE_H
#define OPENGLVEGETATIONINSTANCE_H
#pragma once
#include "opengl_global.h"
@ -39,5 +38,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetationInstance {
};
}
}
#endif // OPENGLVEGETATIONINSTANCE_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATIONLAYER_H
#define OPENGLVEGETATIONLAYER_H
#pragma once
#include "opengl_global.h"
@ -92,5 +91,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetationLayer {
};
}
}
#endif // OPENGLVEGETATIONLAYER_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVERTEXARRAY_H
#define OPENGLVERTEXARRAY_H
#pragma once
#include "opengl_global.h"
@ -90,5 +89,3 @@ class OPENGLSHARED_EXPORT OpenGLVertexArray {
};
}
}
#endif // OPENGLVERTEXARRAY_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLWATER_H
#define OPENGLWATER_H
#pragma once
#include "opengl_global.h"
@ -32,5 +31,3 @@ class OPENGLSHARED_EXPORT OpenGLWater : public OpenGLPart {
};
}
}
#endif // OPENGLWATER_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGL_GLOBAL_H
#define OPENGL_GLOBAL_H
#pragma once
#include "software_global.h"
@ -34,5 +33,3 @@ using namespace paysages::opengl;
#define OPENGL_MAJOR_VERSION 3
#define OPENGL_MINOR_VERSION 3
class OpenGLFunctions;
#endif // OPENGL_GLOBAL_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHEREMODELBRUNETON_H
#define ATMOSPHEREMODELBRUNETON_H
#pragma once
#include "software_global.h"
@ -28,5 +27,3 @@ class SOFTWARESHARED_EXPORT AtmosphereModelBruneton : public LightSource {
};
}
}
#endif // ATMOSPHEREMODELBRUNETON_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHERERENDERER_H
#define ATMOSPHERERENDERER_H
#pragma once
#include "software_global.h"
@ -45,5 +44,3 @@ class SoftwareBrunetonAtmosphereRenderer : public BaseAtmosphereRenderer {
};
}
}
#endif // ATMOSPHERERENDERER_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHERERESULT_H
#define ATMOSPHERERESULT_H
#pragma once
#include "software_global.h"
@ -22,5 +21,3 @@ class SOFTWARESHARED_EXPORT AtmosphereResult {
};
}
}
#endif // ATMOSPHERERESULT_H

View file

@ -1,5 +1,4 @@
#ifndef BASECLOUDLAYERRENDERER_H
#define BASECLOUDLAYERRENDERER_H
#pragma once
#include "software_global.h"
@ -24,5 +23,3 @@ class BaseCloudLayerRenderer {
};
}
}
#endif // BASECLOUDLAYERRENDERER_H

View file

@ -1,5 +1,4 @@
#ifndef CANVAS_H
#define CANVAS_H
#pragma once
#include "software_global.h"
@ -60,5 +59,3 @@ class SOFTWARESHARED_EXPORT Canvas {
};
}
}
#endif // CANVAS_H

View file

@ -1,5 +1,4 @@
#ifndef CANVASFRAGMENT_H
#define CANVASFRAGMENT_H
#pragma once
#include "software_global.h"
@ -52,5 +51,3 @@ class SOFTWARESHARED_EXPORT CanvasFragment {
};
}
}
#endif // CANVASFRAGMENT_H

View file

@ -1,5 +1,4 @@
#ifndef CANVASLIVECLIENT_H
#define CANVASLIVECLIENT_H
#pragma once
#include "software_global.h"
@ -19,5 +18,3 @@ class SOFTWARESHARED_EXPORT CanvasLiveClient {
};
}
}
#endif // CANVASLIVECLIENT_H

View file

@ -1,5 +1,4 @@
#ifndef CANVASPICTUREWRITER_H
#define CANVASPICTUREWRITER_H
#pragma once
#include "software_global.h"
@ -52,5 +51,3 @@ class SOFTWARESHARED_EXPORT CanvasPictureWriter : public PictureWriter {
};
}
}
#endif // CANVASPICTUREWRITER_H

Some files were not shown because too many files have changed in this diff Show more