Apply header guard check
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_BASEWIDGET_HPP
|
||||
#define NAZARA_BASEWIDGET_HPP
|
||||
#ifndef NAZARA_WIDGETS_BASEWIDGET_HPP
|
||||
#define NAZARA_WIDGETS_BASEWIDGET_HPP
|
||||
|
||||
#include <Nazara/Graphics/Sprite.hpp>
|
||||
#include <Nazara/Platform/Event.hpp>
|
||||
@@ -178,4 +178,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Widgets/BaseWidget.inl>
|
||||
|
||||
#endif // NAZARA_BASEWIDGET_HPP
|
||||
#endif // NAZARA_WIDGETS_BASEWIDGET_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_BUTTONWIDGET_HPP
|
||||
#define NAZARA_BUTTONWIDGET_HPP
|
||||
#ifndef NAZARA_WIDGETS_BUTTONWIDGET_HPP
|
||||
#define NAZARA_WIDGETS_BUTTONWIDGET_HPP
|
||||
|
||||
#include <Nazara/Core/Color.hpp>
|
||||
#include <Nazara/Graphics/Sprite.hpp>
|
||||
@@ -69,4 +69,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Widgets/ButtonWidget.inl>
|
||||
|
||||
#endif // NDK_WIDGETS_BUTTONWIDGET_HPP
|
||||
#endif // NAZARA_WIDGETS_BUTTONWIDGET_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CANVAS_HPP
|
||||
#define NAZARA_CANVAS_HPP
|
||||
#ifndef NAZARA_WIDGETS_CANVAS_HPP
|
||||
#define NAZARA_WIDGETS_CANVAS_HPP
|
||||
|
||||
#include <Nazara/Platform/CursorController.hpp>
|
||||
#include <Nazara/Platform/EventHandler.hpp>
|
||||
@@ -85,4 +85,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Widgets/Canvas.inl>
|
||||
|
||||
#endif // NDK_CANVAS_HPP
|
||||
#endif // NAZARA_WIDGETS_CANVAS_HPP
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONFIG_WIDGETS_HPP
|
||||
#define NAZARA_CONFIG_WIDGETS_HPP
|
||||
#ifndef NAZARA_WIDGETS_CONFIG_HPP
|
||||
#define NAZARA_WIDGETS_CONFIG_HPP
|
||||
|
||||
/*!
|
||||
* \defgroup widgets (NazaraWidgets) Widgets module
|
||||
@@ -50,4 +50,4 @@
|
||||
#define NAZARA_WIDGETS_API
|
||||
#endif
|
||||
|
||||
#endif // NAZARA_CONFIG_WIDGETS_HPP
|
||||
#endif // NAZARA_WIDGETS_CONFIG_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONFIG_CHECK_WIDGETS_HPP
|
||||
#define NAZARA_CONFIG_CHECK_WIDGETS_HPP
|
||||
#ifndef NAZARA_WIDGETS_CONFIGCHECK_HPP
|
||||
#define NAZARA_WIDGETS_CONFIGCHECK_HPP
|
||||
|
||||
/// This file is used to check the constant values defined in Config.hpp
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
|
||||
#undef NazaraCheckTypeAndVal
|
||||
|
||||
#endif // NAZARA_CONFIG_CHECK_WIDGETS_HPP
|
||||
#endif // NAZARA_WIDGETS_CONFIGCHECK_HPP
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Widgets module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// no header guards
|
||||
|
||||
#include <Nazara/Widgets/Config.hpp>
|
||||
#if NAZARA_WIDGETS_MANAGE_MEMORY
|
||||
#include <Nazara/Core/Debug/NewRedefinition.hpp>
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Widgets module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// no header guards
|
||||
|
||||
// We assume that Debug.hpp has already been included, same thing for Config.hpp
|
||||
#if NAZARA_WIDGETS_MANAGE_MEMORY
|
||||
#undef delete
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_LABELWIDGET_HPP
|
||||
#define NAZARA_LABELWIDGET_HPP
|
||||
#ifndef NAZARA_WIDGETS_LABELWIDGET_HPP
|
||||
#define NAZARA_WIDGETS_LABELWIDGET_HPP
|
||||
|
||||
#include <Nazara/Graphics/TextSprite.hpp>
|
||||
#include <Nazara/Widgets/BaseWidget.hpp>
|
||||
@@ -36,4 +36,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Widgets/LabelWidget.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_WIDGETS_LABELWIDGET_HPP
|
||||
|
||||
@@ -36,4 +36,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Widgets/Widgets.inl>
|
||||
|
||||
#endif
|
||||
#endif // NAZARA_WIDGETS_HPP
|
||||
|
||||
Reference in New Issue
Block a user