Style: Replace header guards with #pragma once
This commit is contained in:
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef EDITOR_SCENE_IMPORTER_FBX2GLTF_H
|
||||
#define EDITOR_SCENE_IMPORTER_FBX2GLTF_H
|
||||
#pragma once
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
@ -54,5 +53,3 @@ public:
|
||||
};
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
#endif // EDITOR_SCENE_IMPORTER_FBX2GLTF_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef EDITOR_SCENE_IMPORTER_UFBX_H
|
||||
#define EDITOR_SCENE_IMPORTER_UFBX_H
|
||||
#pragma once
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
@ -57,5 +56,3 @@ public:
|
||||
virtual void handle_compatibility_options(HashMap<StringName, Variant> &p_import_params) const override;
|
||||
};
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
#endif // EDITOR_SCENE_IMPORTER_UFBX_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef FBX_DOCUMENT_H
|
||||
#define FBX_DOCUMENT_H
|
||||
#pragma once
|
||||
|
||||
#include "fbx_state.h"
|
||||
|
||||
@ -99,5 +98,3 @@ public:
|
||||
const GLTFAnimationIndex p_index, const bool p_trimming, const bool p_remove_immutable_tracks);
|
||||
Error _parse(Ref<FBXState> p_state, String p_path, Ref<FileAccess> p_file);
|
||||
};
|
||||
|
||||
#endif // FBX_DOCUMENT_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef FBX_STATE_H
|
||||
#define FBX_STATE_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/gltf/gltf_defines.h"
|
||||
#include "modules/gltf/gltf_state.h"
|
||||
@ -65,5 +64,3 @@ public:
|
||||
bool get_allow_geometry_helper_nodes();
|
||||
void set_allow_geometry_helper_nodes(bool p_allow_geometry_helper_nodes);
|
||||
};
|
||||
|
||||
#endif // FBX_STATE_H
|
||||
|
||||
@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef FBX_REGISTER_TYPES_H
|
||||
#define FBX_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_fbx_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_fbx_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // FBX_REGISTER_TYPES_H
|
||||
|
||||
Reference in New Issue
Block a user