Apply header guard check
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_ALGORITHM_AUDIO_HPP
|
||||
#define NAZARA_ALGORITHM_AUDIO_HPP
|
||||
#ifndef NAZARA_AUDIO_ALGORITHM_HPP
|
||||
#define NAZARA_AUDIO_ALGORITHM_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Enums.hpp>
|
||||
@@ -18,4 +18,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Audio/Algorithm.inl>
|
||||
|
||||
#endif // NAZARA_ALGORITHM_AUDIO_HPP
|
||||
#endif // NAZARA_AUDIO_ALGORITHM_HPP
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONFIG_AUDIO_HPP
|
||||
#define NAZARA_CONFIG_AUDIO_HPP
|
||||
#ifndef NAZARA_AUDIO_CONFIG_HPP
|
||||
#define NAZARA_AUDIO_CONFIG_HPP
|
||||
|
||||
/*!
|
||||
* \defgroup audio (NazaraAudio) Audio module
|
||||
@@ -56,4 +56,4 @@
|
||||
#define NAZARA_AUDIO_API
|
||||
#endif
|
||||
|
||||
#endif // NAZARA_CONFIG_AUDIO_HPP
|
||||
#endif // NAZARA_AUDIO_CONFIG_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CONFIG_CHECK_AUDIO_HPP
|
||||
#define NAZARA_CONFIG_CHECK_AUDIO_HPP
|
||||
#ifndef NAZARA_AUDIO_CONFIGCHECK_HPP
|
||||
#define NAZARA_AUDIO_CONFIGCHECK_HPP
|
||||
|
||||
/// This file is used to check the constant values defined in Config.hpp
|
||||
|
||||
@@ -22,4 +22,4 @@ NazaraCheckTypeAndVal(NAZARA_AUDIO_STREAMED_BUFFER_COUNT, integral, >, 0, " shal
|
||||
|
||||
#undef NazaraCheckTypeAndVal
|
||||
|
||||
#endif // NAZARA_CONFIG_CHECK_AUDIO_HPP
|
||||
#endif // NAZARA_AUDIO_CONFIGCHECK_HPP
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Audio module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// no header guards
|
||||
|
||||
#include <Nazara/Audio/Config.hpp>
|
||||
#if NAZARA_AUDIO_MANAGE_MEMORY
|
||||
#include <Nazara/Core/Debug/NewRedefinition.hpp>
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// This file is part of the "Nazara Engine - Audio 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_AUDIO_MANAGE_MEMORY
|
||||
#undef delete
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_ENUMS_AUDIO_HPP
|
||||
#define NAZARA_ENUMS_AUDIO_HPP
|
||||
#ifndef NAZARA_AUDIO_ENUMS_HPP
|
||||
#define NAZARA_AUDIO_ENUMS_HPP
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
@@ -37,4 +37,4 @@ namespace Nz
|
||||
constexpr std::size_t SoundStatusCount = static_cast<std::size_t>(SoundStatus::Max) + 1;
|
||||
}
|
||||
|
||||
#endif // NAZARA_ENUMS_AUDIO_HPP
|
||||
#endif // NAZARA_AUDIO_ENUMS_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_MUSIC_HPP
|
||||
#define NAZARA_MUSIC_HPP
|
||||
#ifndef NAZARA_AUDIO_MUSIC_HPP
|
||||
#define NAZARA_AUDIO_MUSIC_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Enums.hpp>
|
||||
@@ -64,4 +64,4 @@ namespace Nz
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_MUSIC_HPP
|
||||
#endif // NAZARA_AUDIO_MUSIC_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_OPENAL_HPP
|
||||
#define NAZARA_OPENAL_HPP
|
||||
#ifndef NAZARA_AUDIO_OPENAL_HPP
|
||||
#define NAZARA_AUDIO_OPENAL_HPP
|
||||
|
||||
#if defined(NAZARA_AUDIO_OPENAL) || defined(NAZARA_AUDIO_BUILD)
|
||||
|
||||
@@ -189,4 +189,4 @@ NAZARA_AUDIO_API extern OpenALDetail::LPALCSUSPENDCONTEXT alcSuspendContext;
|
||||
|
||||
#endif // NAZARA_AUDIO_OPENAL
|
||||
|
||||
#endif // NAZARA_OPENAL_HPP
|
||||
#endif // NAZARA_AUDIO_OPENAL_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SOUND_HPP
|
||||
#define NAZARA_SOUND_HPP
|
||||
#ifndef NAZARA_AUDIO_SOUND_HPP
|
||||
#define NAZARA_AUDIO_SOUND_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Enums.hpp>
|
||||
@@ -53,4 +53,4 @@ namespace Nz
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_SOUND_HPP
|
||||
#endif // NAZARA_AUDIO_SOUND_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SOUNDBUFFER_HPP
|
||||
#define NAZARA_SOUNDBUFFER_HPP
|
||||
#ifndef NAZARA_AUDIO_SOUNDBUFFER_HPP
|
||||
#define NAZARA_AUDIO_SOUNDBUFFER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Config.hpp>
|
||||
@@ -75,4 +75,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Audio/SoundBuffer.inl>
|
||||
|
||||
#endif // NAZARA_SOUNDBUFFER_HPP
|
||||
#endif // NAZARA_AUDIO_SOUNDBUFFER_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SOUNDEMITTER_HPP
|
||||
#define NAZARA_SOUNDEMITTER_HPP
|
||||
#ifndef NAZARA_AUDIO_SOUNDEMITTER_HPP
|
||||
#define NAZARA_AUDIO_SOUNDEMITTER_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Config.hpp>
|
||||
@@ -71,4 +71,4 @@ namespace Nz
|
||||
|
||||
#include <Nazara/Audio/SoundEmitter.inl>
|
||||
|
||||
#endif // NAZARA_SOUNDEMITTER_HPP
|
||||
#endif // NAZARA_AUDIO_SOUNDEMITTER_HPP
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_SOUNDSTREAM_HPP
|
||||
#define NAZARA_SOUNDSTREAM_HPP
|
||||
#ifndef NAZARA_AUDIO_SOUNDSTREAM_HPP
|
||||
#define NAZARA_AUDIO_SOUNDSTREAM_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Config.hpp>
|
||||
@@ -51,4 +51,4 @@ namespace Nz
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NAZARA_SOUNDSTREAM_HPP
|
||||
#endif // NAZARA_AUDIO_SOUNDSTREAM_HPP
|
||||
|
||||
Reference in New Issue
Block a user