Update globalheaders and fix includes/header guards

This commit is contained in:
SirLynix 2023-01-21 12:06:07 +01:00 committed by Jérôme Leclercq
parent da9eb14ebe
commit d3c05c9ade
12 changed files with 31 additions and 25 deletions

View File

@ -32,7 +32,11 @@
#include <Nazara/Core/AbstractHash.hpp>
#include <Nazara/Core/AbstractLogger.hpp>
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/AppEntitySystemComponent.hpp>
#include <Nazara/Core/Application.hpp>
#include <Nazara/Core/ApplicationBase.hpp>
#include <Nazara/Core/ApplicationComponent.hpp>
#include <Nazara/Core/ApplicationComponentRegistry.hpp>
#include <Nazara/Core/ByteArray.hpp>
#include <Nazara/Core/ByteArrayPool.hpp>
#include <Nazara/Core/ByteStream.hpp>
@ -78,6 +82,7 @@
#include <Nazara/Core/Stream.hpp>
#include <Nazara/Core/StringExt.hpp>
#include <Nazara/Core/TaskScheduler.hpp>
#include <Nazara/Core/Time.hpp>
#include <Nazara/Core/Unicode.hpp>
#include <Nazara/Core/Updatable.hpp>
#include <Nazara/Core/Uuid.hpp>

View File

@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_OPENGLRENDERER_OPENGLRENDERWINDOW_HPP
#define NAZARA_OPENGLRENDERER_OPENGLRENDERWINDOW_HPP
#ifndef NAZARA_OPENGLRENDERER_OPENGLSWAPCHAIN_HPP
#define NAZARA_OPENGLRENDERER_OPENGLSWAPCHAIN_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/OpenGLRenderer/Config.hpp>
@ -54,4 +54,4 @@ namespace Nz
#include <Nazara/OpenGLRenderer/OpenGLSwapchain.inl>
#endif // NAZARA_OPENGLRENDERER_OPENGLRENDERWINDOW_HPP
#endif // NAZARA_OPENGLRENDERER_OPENGLSWAPCHAIN_HPP

View File

@ -29,13 +29,12 @@
#ifndef NAZARA_GLOBAL_PLATFORM_HPP
#define NAZARA_GLOBAL_PLATFORM_HPP
#include <Nazara/Platform/AppWindowingComponent.hpp>
#include <Nazara/Platform/Clipboard.hpp>
#include <Nazara/Platform/Config.hpp>
#include <Nazara/Platform/Cursor.hpp>
#include <Nazara/Platform/CursorController.hpp>
#include <Nazara/Platform/Enums.hpp>
#include <Nazara/Platform/WindowEvent.hpp>
#include <Nazara/Platform/WindowEventHandler.hpp>
#include <Nazara/Platform/Icon.hpp>
#include <Nazara/Platform/Joystick.hpp>
#include <Nazara/Platform/Keyboard.hpp>
@ -43,6 +42,8 @@
#include <Nazara/Platform/Platform.hpp>
#include <Nazara/Platform/VideoMode.hpp>
#include <Nazara/Platform/Window.hpp>
#include <Nazara/Platform/WindowEvent.hpp>
#include <Nazara/Platform/WindowEventHandler.hpp>
#include <Nazara/Platform/WindowHandle.hpp>
#endif // NAZARA_GLOBAL_PLATFORM_HPP

View File

@ -15,9 +15,9 @@
#include <Nazara/Platform/Cursor.hpp>
#include <Nazara/Platform/CursorController.hpp>
#include <Nazara/Platform/Enums.hpp>
#include <Nazara/Platform/WindowEventHandler.hpp>
#include <Nazara/Platform/Icon.hpp>
#include <Nazara/Platform/VideoMode.hpp>
#include <Nazara/Platform/WindowEventHandler.hpp>
#include <Nazara/Platform/WindowHandle.hpp>
#include <Nazara/Utils/MovablePtr.hpp>
#include <condition_variable>

View File

@ -6,8 +6,8 @@
#pragma once
#ifndef NAZARA_PLATFORM_EVENT_HPP
#define NAZARA_PLATFORM_EVENT_HPP
#ifndef NAZARA_PLATFORM_WINDOWEVENT_HPP
#define NAZARA_PLATFORM_WINDOWEVENT_HPP
#include <Nazara/Platform/Enums.hpp>
#include <Nazara/Platform/Keyboard.hpp>
@ -135,4 +135,4 @@ namespace Nz
};
}
#endif // NAZARA_PLATFORM_EVENT_HPP
#endif // NAZARA_PLATFORM_WINDOWEVENT_HPP

View File

@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_PLATFORM_EVENTHANDLER_HPP
#define NAZARA_PLATFORM_EVENTHANDLER_HPP
#ifndef NAZARA_PLATFORM_WINDOWEVENTHANDLER_HPP
#define NAZARA_PLATFORM_WINDOWEVENTHANDLER_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/HandledObject.hpp>
@ -58,4 +58,4 @@ namespace Nz
#include <Nazara/Platform/WindowEventHandler.inl>
#endif // NAZARA_PLATFORM_EVENTHANDLER_HPP
#endif // NAZARA_PLATFORM_WINDOWEVENTHANDLER_HPP

View File

@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RENDERER_RENDERWINDOWPARAMETERS_HPP
#define NAZARA_RENDERER_RENDERWINDOWPARAMETERS_HPP
#ifndef NAZARA_RENDERER_SWAPCHAINPARAMETERS_HPP
#define NAZARA_RENDERER_SWAPCHAINPARAMETERS_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Utility/PixelFormat.hpp>
@ -20,4 +20,4 @@ namespace Nz
};
}
#endif // NAZARA_RENDERER_RENDERWINDOWPARAMETERS_HPP
#endif // NAZARA_RENDERER_SWAPCHAINPARAMETERS_HPP

View File

@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RENDERER_RENDERWINDOW_HPP
#define NAZARA_RENDERER_RENDERWINDOW_HPP
#ifndef NAZARA_RENDERER_WINDOWSWAPCHAIN_HPP
#define NAZARA_RENDERER_WINDOWSWAPCHAIN_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Platform/WindowEventHandler.hpp>
@ -62,4 +62,4 @@ namespace Nz
#include <Nazara/Renderer/WindowSwapchain.inl>
#endif // NAZARA_RENDERER_RENDERWINDOW_HPP
#endif // NAZARA_RENDERER_WINDOWSWAPCHAIN_HPP

View File

@ -4,16 +4,16 @@
#pragma once
#ifndef NAZARA_VULKANRENDERER_VULKANRENDERWINDOW_HPP
#define NAZARA_VULKANRENDERER_VULKANRENDERWINDOW_HPP
#ifndef NAZARA_VULKANRENDERER_VULKANSWAPCHAIN_HPP
#define NAZARA_VULKANRENDERER_VULKANSWAPCHAIN_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/Clock.hpp>
#include <Nazara/Math/Rect.hpp>
#include <Nazara/Math/Vector3.hpp>
#include <Nazara/Renderer/Enums.hpp>
#include <Nazara/Renderer/Swapchain.hpp>
#include <Nazara/Renderer/RendererImpl.hpp>
#include <Nazara/Renderer/Swapchain.hpp>
#include <Nazara/Renderer/SwapchainParameters.hpp>
#include <Nazara/VulkanRenderer/Config.hpp>
#include <Nazara/VulkanRenderer/VulkanDevice.hpp>
@ -93,4 +93,4 @@ namespace Nz
#include <Nazara/VulkanRenderer/VulkanSwapchain.inl>
#endif // NAZARA_VULKANRENDERER_VULKANRENDERWINDOW_HPP
#endif // NAZARA_VULKANRENDERER_VULKANSWAPCHAIN_HPP

View File

@ -8,8 +8,8 @@
#define NAZARA_WIDGETS_BASEWIDGET_HPP
#include <Nazara/Graphics/Sprite.hpp>
#include <Nazara/Platform/WindowEvent.hpp>
#include <Nazara/Platform/Mouse.hpp>
#include <Nazara/Platform/WindowEvent.hpp>
#include <Nazara/Utility/Node.hpp>
#include <Nazara/Widgets/Config.hpp>
#include <entt/entity/entity.hpp>

View File

@ -10,8 +10,8 @@
#include <Nazara/Graphics/Components/GraphicsComponent.hpp>
#include <Nazara/Renderer/CommandBufferBuilder.hpp>
#include <Nazara/Renderer/RenderFrame.hpp>
#include <Nazara/Renderer/WindowSwapchain.hpp>
#include <Nazara/Renderer/UploadPool.hpp>
#include <Nazara/Renderer/WindowSwapchain.hpp>
#include <Nazara/Utility/Components/NodeComponent.hpp>
#include <Nazara/Utility/Components/SharedSkeletonComponent.hpp>
#include <Nazara/Utility/Components/SkeletonComponent.hpp>

View File

@ -3,8 +3,8 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Renderer/WindowSwapchain.hpp>
#include <Nazara/Renderer/RenderDevice.hpp>
#include <Nazara/Platform/Window.hpp>
#include <Nazara/Renderer/RenderDevice.hpp>
#include <Nazara/Renderer/Debug.hpp>
namespace Nz