Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef AUDIO_STREAM_INTERACTIVE_H
#define AUDIO_STREAM_INTERACTIVE_H
#pragma once
#include "servers/audio/audio_stream.h"
@ -267,5 +266,3 @@ public:
AudioStreamPlaybackInteractive();
~AudioStreamPlaybackInteractive();
};
#endif // AUDIO_STREAM_INTERACTIVE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef AUDIO_STREAM_PLAYLIST_H
#define AUDIO_STREAM_PLAYLIST_H
#pragma once
#include "servers/audio/audio_stream.h"
@ -121,5 +120,3 @@ public:
~AudioStreamPlaybackPlaylist();
};
#endif // AUDIO_STREAM_PLAYLIST_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef AUDIO_STREAM_SYNCHRONIZED_H
#define AUDIO_STREAM_SYNCHRONIZED_H
#pragma once
#include "servers/audio/audio_stream.h"
@ -116,5 +115,3 @@ public:
AudioStreamPlaybackSynchronized();
~AudioStreamPlaybackSynchronized();
};
#endif // AUDIO_STREAM_SYNCHRONIZED_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef AUDIO_STREAM_INTERACTIVE_EDITOR_PLUGIN_H
#define AUDIO_STREAM_INTERACTIVE_EDITOR_PLUGIN_H
#pragma once
#include "editor/editor_inspector.h"
#include "editor/plugins/editor_plugin.h"
@ -106,5 +105,3 @@ public:
AudioStreamInteractiveEditorPlugin();
};
#endif // AUDIO_STREAM_INTERACTIVE_EDITOR_PLUGIN_H

View File

@ -28,12 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef INTERACTIVE_MUSIC_REGISTER_TYPES_H
#define INTERACTIVE_MUSIC_REGISTER_TYPES_H
#pragma once
#include "modules/register_module_types.h"
void initialize_interactive_music_module(ModuleInitializationLevel p_level);
void uninitialize_interactive_music_module(ModuleInitializationLevel p_level);
#endif // INTERACTIVE_MUSIC_REGISTER_TYPES_H