diff --git a/src/Magnum/Animation/Animation.h b/src/Magnum/Animation/Animation.h index 653868767..6cfded21f 100644 --- a/src/Magnum/Animation/Animation.h +++ b/src/Magnum/Animation/Animation.h @@ -32,9 +32,9 @@ #include "Magnum/Types.h" +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Animation { -#ifndef DOXYGEN_GENERATING_OUTPUT namespace Implementation { template struct ResultTraits; template struct TypeTraits; @@ -50,8 +50,8 @@ template class Player; template> class Track; template class TrackViewStorage; template> class TrackView; -#endif }} +#endif #endif diff --git a/src/Magnum/Audio/Audio.h b/src/Magnum/Audio/Audio.h index 9529bc13b..aecfe0709 100644 --- a/src/Magnum/Audio/Audio.h +++ b/src/Magnum/Audio/Audio.h @@ -34,11 +34,9 @@ #ifndef DOXYGEN_GENERATING_OUTPUT typedef int ALenum; -#endif namespace Magnum { namespace Audio { -#ifndef DOXYGEN_GENERATING_OUTPUT class AbstractImporter; enum class BufferFormat: ALenum; @@ -59,8 +57,8 @@ typedef PlayableGroup<3> PlayableGroup3D; template class Listener; typedef Listener<2> Listener2D; typedef Listener<3> Listener3D; -#endif }} +#endif #endif diff --git a/src/Magnum/DebugTools/DebugTools.h b/src/Magnum/DebugTools/DebugTools.h index d3d0ed8e5..0b2e15814 100644 --- a/src/Magnum/DebugTools/DebugTools.h +++ b/src/Magnum/DebugTools/DebugTools.h @@ -36,9 +36,9 @@ #include #endif +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace DebugTools { -#ifndef DOXYGEN_GENERATING_OUTPUT #ifdef MAGNUM_BUILD_DEPRECATED class CORRADE_DEPRECATED("use FrameProfiler instead") Profiler; #endif @@ -62,8 +62,8 @@ class ObjectRendererOptions; class ResourceManager; #endif -#endif }} +#endif #endif diff --git a/src/Magnum/GL/GL.h b/src/Magnum/GL/GL.h index 9a637eabc..83661e0e3 100644 --- a/src/Magnum/GL/GL.h +++ b/src/Magnum/GL/GL.h @@ -38,11 +38,9 @@ typedef int GLint; /* Needed for sampler enums */ typedef unsigned int GLenum; /* Needed for *Format and *Type enums */ typedef unsigned int GLuint; /* Needed by Implementation/State.h */ -#endif namespace Magnum { namespace GL { -#ifndef DOXYGEN_GENERATING_OUTPUT namespace Implementation { /* Needed by Context as well as all Implementation::*State classes */ enum: std::size_t { @@ -182,9 +180,9 @@ class TransformFeedback; #endif enum class Version: Int; -#endif }} +#endif #endif diff --git a/src/Magnum/Math/Math.h b/src/Magnum/Math/Math.h index 39b896a0c..abafffcde 100644 --- a/src/Magnum/Math/Math.h +++ b/src/Magnum/Math/Math.h @@ -38,11 +38,11 @@ #include #endif +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Math { /** @todo Denormals to zero */ -#ifndef DOXYGEN_GENERATING_OUTPUT template class BitVector; #ifdef MAGNUM_BUILD_DEPRECATED template using BoolVector CORRADE_DEPRECATED_ALIAS("use BitVector instead") = BitVector; @@ -120,8 +120,8 @@ namespace Implementation { template struct StrictWeakOrdering; } #endif -#endif }} +#endif #endif diff --git a/src/Magnum/Platform/Platform.h b/src/Magnum/Platform/Platform.h index cbc7a35fc..521205662 100644 --- a/src/Magnum/Platform/Platform.h +++ b/src/Magnum/Platform/Platform.h @@ -32,9 +32,9 @@ #include "Magnum/configure.h" +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Platform { -#ifndef DOXYGEN_GENERATING_OUTPUT template class BasicScreen; template class BasicScreenedApplication; /* For ScreenedApplication backwards compatibility with mouseScrollEvent() @@ -50,8 +50,8 @@ class TwoFingerGesture; #ifdef MAGNUM_TARGET_GL class GLContext; #endif -#endif }} +#endif #endif diff --git a/src/Magnum/SceneGraph/SceneGraph.h b/src/Magnum/SceneGraph/SceneGraph.h index bdebedceb..e4fefcc70 100644 --- a/src/Magnum/SceneGraph/SceneGraph.h +++ b/src/Magnum/SceneGraph/SceneGraph.h @@ -32,9 +32,9 @@ #include "Magnum/Types.h" +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace SceneGraph { -#ifndef DOXYGEN_GENERATING_OUTPUT enum class AspectRatioPolicy: UnsignedByte; /* Enum CachedTransformation and CachedTransformations used only directly */ @@ -152,8 +152,8 @@ typedef BasicTranslationRotationScalingTransformation3D TranslationRotati namespace Implementation { template struct Transformation; } -#endif }} +#endif #endif diff --git a/src/Magnum/ShaderTools/ShaderTools.h b/src/Magnum/ShaderTools/ShaderTools.h index e65f27f29..4eafa7ea4 100644 --- a/src/Magnum/ShaderTools/ShaderTools.h +++ b/src/Magnum/ShaderTools/ShaderTools.h @@ -33,13 +33,13 @@ #include "Magnum/Types.h" +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace ShaderTools { -#ifndef DOXYGEN_GENERATING_OUTPUT class AbstractConverter; enum class Stage: UnsignedInt; -#endif }} +#endif #endif diff --git a/src/Magnum/Shaders/Shaders.h b/src/Magnum/Shaders/Shaders.h index 029baa97c..18e5278c8 100644 --- a/src/Magnum/Shaders/Shaders.h +++ b/src/Magnum/Shaders/Shaders.h @@ -36,9 +36,9 @@ #include #endif +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Shaders { -#ifndef DOXYGEN_GENERATING_OUTPUT template class DistanceFieldVectorGL; typedef DistanceFieldVectorGL<2> DistanceFieldVectorGL2D; typedef DistanceFieldVectorGL<3> DistanceFieldVectorGL3D; @@ -98,8 +98,8 @@ template using VertexColor CORRADE_DEPRECATED_ALIAS("use typedef CORRADE_DEPRECATED("use VertexColorGL2D instead") VertexColorGL2D VertexColor2D; typedef CORRADE_DEPRECATED("use VertexColorGL3D instead") VertexColorGL3D VertexColor3D; #endif -#endif }} +#endif #endif diff --git a/src/Magnum/Text/Text.h b/src/Magnum/Text/Text.h index 881a40d7a..a3ba530f4 100644 --- a/src/Magnum/Text/Text.h +++ b/src/Magnum/Text/Text.h @@ -36,9 +36,9 @@ #include #endif +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Text { -#ifndef DOXYGEN_GENERATING_OUTPUT class AbstractFont; class AbstractFontConverter; class AbstractGlyphCache; @@ -68,8 +68,8 @@ template class Renderer; typedef Renderer<2> Renderer2D; typedef Renderer<3> Renderer3D; #endif -#endif }} +#endif #endif diff --git a/src/Magnum/TextureTools/TextureTools.h b/src/Magnum/TextureTools/TextureTools.h index d2e0a2bf1..df0f5ac43 100644 --- a/src/Magnum/TextureTools/TextureTools.h +++ b/src/Magnum/TextureTools/TextureTools.h @@ -34,12 +34,12 @@ #include "Magnum/Magnum.h" +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace TextureTools { -#ifndef DOXYGEN_GENERATING_OUTPUT class AtlasLandfill; -#endif }} +#endif #endif diff --git a/src/Magnum/Trade/Trade.h b/src/Magnum/Trade/Trade.h index ca8763aff..393cc1e74 100644 --- a/src/Magnum/Trade/Trade.h +++ b/src/Magnum/Trade/Trade.h @@ -38,9 +38,9 @@ #include #endif +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Trade { -#ifndef DOXYGEN_GENERATING_OUTPUT class AbstractImageConverter; class AbstractImporter; class AbstractSceneConverter; @@ -116,8 +116,8 @@ class SceneData; template class SkinData; typedef SkinData<2> SkinData2D; typedef SkinData<3> SkinData3D; -#endif }} +#endif #endif diff --git a/src/Magnum/Vk/Vk.h b/src/Magnum/Vk/Vk.h index f956d00bb..370699e25 100644 --- a/src/Magnum/Vk/Vk.h +++ b/src/Magnum/Vk/Vk.h @@ -34,9 +34,9 @@ #include "Magnum/Magnum.h" +#ifndef DOXYGEN_GENERATING_OUTPUT namespace Magnum { namespace Vk { -#ifndef DOXYGEN_GENERATING_OUTPUT enum class Access: UnsignedInt; typedef Containers::EnumSet Accesses; class Buffer; @@ -138,15 +138,15 @@ class ShaderSet; enum class ShaderStage: UnsignedInt; /* 0x7FFFFFFF = VK_SHADER_STAGE_ALL, but that would mean including the whole Vulkan headers. Using a number here and then the actual enum value in - Shadder.h to ensure it doesn't get out of sync. */ + Shader.h to ensure it doesn't get out of sync. */ typedef Containers::EnumSet ShaderStages; class SubmitInfo; class SubpassBeginInfo; class SubpassEndInfo; enum class Version: UnsignedInt; enum class VertexFormat: Int; -#endif }} +#endif #endif