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 ACTION_MAP_EDITOR_H
#define ACTION_MAP_EDITOR_H
#pragma once
#include "scene/gui/control.h"
@ -132,5 +131,3 @@ public:
ActionMapEditor();
};
#endif // ACTION_MAP_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ADD_METADATA_DIALOG_H
#define ADD_METADATA_DIALOG_H
#pragma once
#include "editor/gui/editor_validation_panel.h"
#include "scene/gui/dialogs.h"
@ -56,4 +55,3 @@ private:
OptionButton *add_meta_type = nullptr;
EditorValidationPanel *validation_panel = nullptr;
};
#endif // ADD_METADATA_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ANIMATION_BEZIER_EDITOR_H
#define ANIMATION_BEZIER_EDITOR_H
#pragma once
#include "animation_track_editor.h"
#include "core/templates/hashfuncs.h"
@ -225,5 +224,3 @@ public:
AnimationBezierTrackEdit();
};
#endif // ANIMATION_BEZIER_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ANIMATION_TRACK_EDITOR_H
#define ANIMATION_TRACK_EDITOR_H
#pragma once
#include "editor/editor_data.h"
#include "editor/editor_properties.h"
@ -1003,5 +1002,3 @@ public:
AnimationMarkerKeyEditEditor(Ref<Animation> p_animation, const StringName &p_name, bool p_use_fps);
~AnimationMarkerKeyEditEditor();
};
#endif // ANIMATION_TRACK_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ANIMATION_TRACK_EDITOR_PLUGINS_H
#define ANIMATION_TRACK_EDITOR_PLUGINS_H
#pragma once
#include "editor/animation_track_editor.h"
@ -167,5 +166,3 @@ public:
virtual AnimationTrackEdit *create_audio_track_edit() override;
virtual AnimationTrackEdit *create_animation_track_edit(Object *p_object) override;
};
#endif // ANIMATION_TRACK_EDITOR_PLUGINS_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef AUDIO_STREAM_PREVIEW_H
#define AUDIO_STREAM_PREVIEW_H
#pragma once
#include "core/os/thread.h"
#include "core/templates/safe_refcount.h"
@ -104,5 +103,3 @@ public:
AudioStreamPreviewGenerator();
};
#endif // AUDIO_STREAM_PREVIEW_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef CODE_EDITOR_H
#define CODE_EDITOR_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
@ -304,5 +303,3 @@ public:
CodeTextEditor();
};
#endif // CODE_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef CONNECTIONS_DIALOG_H
#define CONNECTIONS_DIALOG_H
#pragma once
#include "scene/gui/check_button.h"
#include "scene/gui/dialogs.h"
@ -271,5 +270,3 @@ public:
ConnectionsDock();
~ConnectionsDock();
};
#endif // CONNECTIONS_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef CREATE_DIALOG_H
#define CREATE_DIALOG_H
#pragma once
#include "editor/editor_help.h"
#include "scene/gui/button.h"
@ -124,5 +123,3 @@ public:
CreateDialog();
};
#endif // CREATE_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DEBUG_ADAPTER_PARSER_H
#define DEBUG_ADAPTER_PARSER_H
#pragma once
#include "core/config/project_settings.h"
#include "core/debugger/remote_debugger.h"
@ -103,5 +102,3 @@ public:
Dictionary ev_custom_data(const String &p_msg, const Array &p_data) const;
Dictionary ev_breakpoint(const DAP::Breakpoint &p_breakpoint, const bool &p_enabled) const;
};
#endif // DEBUG_ADAPTER_PARSER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DEBUG_ADAPTER_PROTOCOL_H
#define DEBUG_ADAPTER_PROTOCOL_H
#pragma once
#include "core/debugger/debugger_marshalls.h"
#include "core/io/stream_peer_tcp.h"
@ -168,5 +167,3 @@ public:
DebugAdapterProtocol();
~DebugAdapterProtocol();
};
#endif // DEBUG_ADAPTER_PROTOCOL_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DEBUG_ADAPTER_SERVER_H
#define DEBUG_ADAPTER_SERVER_H
#pragma once
#include "debug_adapter_protocol.h"
#include "editor/plugins/editor_plugin.h"
@ -54,5 +53,3 @@ public:
void start();
void stop();
};
#endif // DEBUG_ADAPTER_SERVER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DEBUG_ADAPTER_TYPES_H
#define DEBUG_ADAPTER_TYPES_H
#pragma once
#include "core/io/json.h"
#include "core/variant/dictionary.h"
@ -277,5 +276,3 @@ struct Variable {
};
} // namespace DAP
#endif // DEBUG_ADAPTER_TYPES_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DEBUGGER_INSPECTOR_H
#define EDITOR_DEBUGGER_INSPECTOR_H
#pragma once
#include "editor/editor_inspector.h"
@ -93,5 +92,3 @@ public:
void add_stack_variable(const Array &p_arr, int p_offset = -1);
void clear_stack_variables();
};
#endif // EDITOR_DEBUGGER_INSPECTOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DEBUGGER_NODE_H
#define EDITOR_DEBUGGER_NODE_H
#pragma once
#include "core/object/script_language.h"
#include "editor/debugger/editor_debugger_server.h"
@ -218,5 +217,3 @@ public:
void add_debugger_plugin(const Ref<EditorDebuggerPlugin> &p_plugin);
void remove_debugger_plugin(const Ref<EditorDebuggerPlugin> &p_plugin);
};
#endif // EDITOR_DEBUGGER_NODE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DEBUGGER_SERVER_H
#define EDITOR_DEBUGGER_SERVER_H
#pragma once
#include "core/debugger/remote_debugger_peer.h"
#include "core/object/ref_counted.h"
@ -56,5 +55,3 @@ public:
virtual bool is_connection_available() const = 0;
virtual Ref<RemoteDebuggerPeer> take_connection() = 0;
};
#endif // EDITOR_DEBUGGER_SERVER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DEBUGGER_TREE_H
#define EDITOR_DEBUGGER_TREE_H
#pragma once
#include "scene/gui/tree.h"
@ -94,5 +93,3 @@ public:
void select_node(ObjectID p_id);
EditorDebuggerTree();
};
#endif // EDITOR_DEBUGGER_TREE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPRESSION_EVALUATOR_H
#define EDITOR_EXPRESSION_EVALUATOR_H
#pragma once
#include "scene/gui/box_container.h"
@ -73,5 +72,3 @@ public:
EditorExpressionEvaluator();
};
#endif // EDITOR_EXPRESSION_EVALUATOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_FILE_SERVER_H
#define EDITOR_FILE_SERVER_H
#pragma once
#include "core/io/tcp_server.h"
#include "core/os/thread.h"
@ -55,5 +54,3 @@ public:
EditorFileServer();
~EditorFileServer();
};
#endif // EDITOR_FILE_SERVER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PERFORMANCE_PROFILER_H
#define EDITOR_PERFORMANCE_PROFILER_H
#pragma once
#include "core/templates/hash_map.h"
#include "main/performance.h"
@ -88,5 +87,3 @@ public:
List<float> *get_monitor_data(const StringName &p_name);
EditorPerformanceProfiler();
};
#endif // EDITOR_PERFORMANCE_PROFILER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PROFILER_H
#define EDITOR_PROFILER_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
@ -186,5 +185,3 @@ public:
EditorProfiler();
};
#endif // EDITOR_PROFILER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_VISUAL_PROFILER_H
#define EDITOR_VISUAL_PROFILER_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
@ -153,5 +152,3 @@ public:
EditorVisualProfiler();
};
#endif // EDITOR_VISUAL_PROFILER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef SCRIPT_EDITOR_DEBUGGER_H
#define SCRIPT_EDITOR_DEBUGGER_H
#pragma once
#include "core/object/script_language.h"
#include "core/os/os.h"
@ -324,5 +323,3 @@ public:
ScriptEditorDebugger();
~ScriptEditorDebugger();
};
#endif // SCRIPT_EDITOR_DEBUGGER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DEPENDENCY_EDITOR_H
#define DEPENDENCY_EDITOR_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/dialogs.h"
@ -179,5 +178,3 @@ public:
void show();
OrphanResourcesDialog();
};
#endif // DEPENDENCY_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DIRECTORY_CREATE_DIALOG_H
#define DIRECTORY_CREATE_DIALOG_H
#pragma once
#include "scene/gui/dialogs.h"
@ -68,5 +67,3 @@ public:
DirectoryCreateDialog();
};
#endif // DIRECTORY_CREATE_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef DOC_TOOLS_H
#define DOC_TOOLS_H
#pragma once
#include "core/doc_data.h"
#include "core/templates/rb_set.h"
@ -58,5 +57,3 @@ public:
Error load_compressed(const uint8_t *p_data, int p_compressed_size, int p_uncompressed_size);
Error load_xml(const uint8_t *p_data, int p_size);
};
#endif // DOC_TOOLS_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_ABOUT_H
#define EDITOR_ABOUT_H
#pragma once
#include "scene/gui/dialogs.h"
#include "scene/gui/item_list.h"
@ -64,5 +63,3 @@ public:
EditorAbout();
~EditorAbout();
};
#endif // EDITOR_ABOUT_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_ASSET_INSTALLER_H
#define EDITOR_ASSET_INSTALLER_H
#pragma once
#include "scene/gui/dialogs.h"
#include "scene/gui/tree.h"
@ -105,5 +104,3 @@ public:
EditorAssetInstaller();
};
#endif // EDITOR_ASSET_INSTALLER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_ATLAS_PACKER_H
#define EDITOR_ATLAS_PACKER_H
#pragma once
#include "core/math/vector2.h"
#include "core/math/vector2i.h"
@ -68,5 +67,3 @@ private:
public:
static void chart_pack(Vector<Chart> &charts, int &r_width, int &r_height, int p_atlas_max_size = 2048, int p_cell_resolution = 4);
};
#endif // EDITOR_ATLAS_PACKER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_AUDIO_BUSES_H
#define EDITOR_AUDIO_BUSES_H
#pragma once
#include "editor/plugins/editor_plugin.h"
#include "scene/gui/box_container.h"
@ -283,5 +282,3 @@ public:
AudioBusesEditorPlugin(EditorAudioBuses *p_node);
~AudioBusesEditorPlugin();
};
#endif // EDITOR_AUDIO_BUSES_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_AUTOLOAD_SETTINGS_H
#define EDITOR_AUTOLOAD_SETTINGS_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
@ -114,5 +113,3 @@ public:
EditorAutoloadSettings();
~EditorAutoloadSettings();
};
#endif // EDITOR_AUTOLOAD_SETTINGS_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_BUILD_PROFILE_H
#define EDITOR_BUILD_PROFILE_H
#pragma once
#include "core/object/ref_counted.h"
#include "editor/editor_help.h"
@ -185,5 +184,3 @@ public:
static EditorBuildProfileManager *get_singleton() { return singleton; }
EditorBuildProfileManager();
};
#endif // EDITOR_BUILD_PROFILE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_COMMAND_PALETTE_H
#define EDITOR_COMMAND_PALETTE_H
#pragma once
#include "core/input/shortcut.h"
#include "scene/gui/dialogs.h"
@ -103,5 +102,3 @@ public:
Ref<Shortcut> ED_SHORTCUT_AND_COMMAND(const String &p_path, const String &p_name, Key p_keycode = Key::NONE, String p_command = "");
Ref<Shortcut> ED_SHORTCUT_ARRAY_AND_COMMAND(const String &p_path, const String &p_name, const PackedInt32Array &p_keycodes, String p_command = "");
#endif // EDITOR_COMMAND_PALETTE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DATA_H
#define EDITOR_DATA_H
#pragma once
#include "core/templates/list.h"
#include "scene/resources/texture.h"
@ -328,5 +327,3 @@ public:
EditorSelection();
~EditorSelection();
};
#endif // EDITOR_DATA_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DOCK_MANAGER_H
#define EDITOR_DOCK_MANAGER_H
#pragma once
#include "scene/gui/popup.h"
#include "scene/gui/split_container.h"
@ -207,5 +206,3 @@ public:
DockContextPopup();
};
#endif // EDITOR_DOCK_MANAGER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_FEATURE_PROFILE_H
#define EDITOR_FEATURE_PROFILE_H
#pragma once
#include "core/object/ref_counted.h"
#include "editor/editor_help.h"
@ -185,5 +184,3 @@ public:
static EditorFeatureProfileManager *get_singleton() { return singleton; }
EditorFeatureProfileManager();
};
#endif // EDITOR_FEATURE_PROFILE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_FILE_SYSTEM_H
#define EDITOR_FILE_SYSTEM_H
#pragma once
#include "core/io/dir_access.h"
#include "core/io/resource_importer.h"
@ -424,5 +423,3 @@ public:
EditorFileSystem();
~EditorFileSystem();
};
#endif // EDITOR_FILE_SYSTEM_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_FOLDING_H
#define EDITOR_FOLDING_H
#pragma once
#include "scene/main/node.h"
@ -55,5 +54,3 @@ public:
EditorFolding();
};
#endif // EDITOR_FOLDING_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_HELP_H
#define EDITOR_HELP_H
#pragma once
#include "core/os/thread.h"
#include "editor/doc_tools.h"
@ -397,5 +396,3 @@ public:
virtual ~EditorHelpHighlighter();
};
#endif // defined(MODULE_GDSCRIPT_ENABLED) || defined(MODULE_MONO_ENABLED)
#endif // EDITOR_HELP_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_HELP_SEARCH_H
#define EDITOR_HELP_SEARCH_H
#pragma once
#include "editor/plugins/editor_plugin.h"
#include "scene/gui/dialogs.h"
@ -212,5 +211,3 @@ public:
Runner(Control *p_icon_service, Tree *p_results_tree, TreeCache *p_tree_cache, const String &p_term, int p_search_flags);
};
#endif // EDITOR_HELP_SEARCH_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_INSPECTOR_H
#define EDITOR_INSPECTOR_H
#pragma once
#include "editor/add_metadata_dialog.h"
#include "editor_property_name_processor.h"
@ -705,5 +704,3 @@ public:
EditorInspector();
};
#endif // EDITOR_INSPECTOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_INTERFACE_H
#define EDITOR_INTERFACE_H
#pragma once
#include "core/io/resource.h"
#include "core/object/class_db.h"
@ -200,5 +199,3 @@ public:
EditorInterface();
};
#endif // EDITOR_INTERFACE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_LAYOUTS_DIALOG_H
#define EDITOR_LAYOUTS_DIALOG_H
#pragma once
#include "scene/gui/dialogs.h"
@ -57,5 +56,3 @@ public:
void set_name_line_enabled(bool p_enabled);
};
#endif // EDITOR_LAYOUTS_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_LOCALE_DIALOG_H
#define EDITOR_LOCALE_DIALOG_H
#pragma once
#include "scene/gui/dialogs.h"
@ -85,5 +84,3 @@ public:
void set_locale(const String &p_locale);
void popup_locale_dialog();
};
#endif // EDITOR_LOCALE_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_LOG_H
#define EDITOR_LOG_H
#pragma once
#include "core/os/thread.h"
#include "scene/gui/box_container.h"
@ -191,5 +190,3 @@ public:
};
VARIANT_ENUM_CAST(EditorLog::MessageType);
#endif // EDITOR_LOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_MAIN_SCREEN_H
#define EDITOR_MAIN_SCREEN_H
#pragma once
#include "scene/gui/panel_container.h"
@ -90,5 +89,3 @@ public:
EditorMainScreen();
};
#endif // EDITOR_MAIN_SCREEN_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_NATIVE_SHADER_SOURCE_VISUALIZER_H
#define EDITOR_NATIVE_SHADER_SOURCE_VISUALIZER_H
#pragma once
#include "scene/gui/dialogs.h"
#include "scene/gui/tab_container.h"
@ -49,5 +48,3 @@ protected:
public:
EditorNativeShaderSourceVisualizer();
};
#endif // EDITOR_NATIVE_SHADER_SOURCE_VISUALIZER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_NODE_H
#define EDITOR_NODE_H
#pragma once
#include "core/object/script_language.h"
#include "core/templates/safe_refcount.h"
@ -1008,5 +1007,3 @@ struct EditorProgressBG {
}
~EditorProgressBG() { EditorNode::progress_end_task_bg(task); }
};
#endif // EDITOR_NODE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PATHS_H
#define EDITOR_PATHS_H
#pragma once
#include "core/object/class_db.h"
#include "core/object/object.h"
@ -84,5 +83,3 @@ public:
EditorPaths();
};
#endif // EDITOR_PATHS_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PROPERTIES_H
#define EDITOR_PROPERTIES_H
#pragma once
#include "editor/editor_inspector.h"
@ -723,5 +722,3 @@ public:
static EditorProperty *get_editor_for_property(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const BitField<PropertyUsageFlags> p_usage, const bool p_wide = false);
};
#endif // EDITOR_PROPERTIES_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PROPERTIES_ARRAY_DICT_H
#define EDITOR_PROPERTIES_ARRAY_DICT_H
#pragma once
#include "editor/editor_inspector.h"
#include "editor/editor_locale_dialog.h"
@ -305,5 +304,3 @@ public:
virtual void update_property() override;
EditorPropertyLocalizableString();
};
#endif // EDITOR_PROPERTIES_ARRAY_DICT_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PROPERTIES_VECTOR_H
#define EDITOR_PROPERTIES_VECTOR_H
#pragma once
#include "editor/editor_inspector.h"
@ -107,5 +106,3 @@ class EditorPropertyVector4i : public EditorPropertyVectorN {
public:
EditorPropertyVector4i(bool p_force_wide = false);
};
#endif // EDITOR_PROPERTIES_VECTOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_PROPERTY_NAME_PROCESSOR_H
#define EDITOR_PROPERTY_NAME_PROCESSOR_H
#pragma once
#include "scene/main/node.h"
@ -76,5 +75,3 @@ public:
EditorPropertyNameProcessor();
~EditorPropertyNameProcessor();
};
#endif // EDITOR_PROPERTY_NAME_PROCESSOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_RESOURCE_PICKER_H
#define EDITOR_RESOURCE_PICKER_H
#pragma once
#include "scene/gui/box_container.h"
@ -216,5 +215,3 @@ protected:
public:
EditorAudioStreamPicker();
};
#endif // EDITOR_RESOURCE_PICKER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_RESOURCE_PREVIEW_H
#define EDITOR_RESOURCE_PREVIEW_H
#pragma once
#include "core/os/semaphore.h"
#include "core/os/thread.h"
@ -153,5 +152,3 @@ public:
EditorResourcePreview();
~EditorResourcePreview();
};
#endif // EDITOR_RESOURCE_PREVIEW_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_RUN_H
#define EDITOR_RUN_H
#pragma once
#include "core/os/os.h"
@ -76,5 +75,3 @@ public:
EditorRun();
};
#endif // EDITOR_RUN_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_RUN_NATIVE_H
#define EDITOR_RUN_NATIVE_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/dialogs.h"
@ -63,5 +62,3 @@ public:
EditorRunNative();
};
#endif // EDITOR_RUN_NATIVE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_SCRIPT_H
#define EDITOR_SCRIPT_H
#pragma once
#include "core/object/gdvirtual.gen.inc"
#include "core/object/ref_counted.h"
@ -55,5 +54,3 @@ public:
EditorScript() {}
};
#endif // EDITOR_SCRIPT_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_SECTIONED_INSPECTOR_H
#define EDITOR_SECTIONED_INSPECTOR_H
#pragma once
#include "scene/gui/split_container.h"
@ -79,5 +78,3 @@ public:
SectionedInspector();
~SectionedInspector();
};
#endif // EDITOR_SECTIONED_INSPECTOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_SETTINGS_H
#define EDITOR_SETTINGS_H
#pragma once
#include "core/input/shortcut.h"
#include "core/io/config_file.h"
@ -227,5 +226,3 @@ Ref<Shortcut> ED_SHORTCUT_ARRAY(const String &p_path, const String &p_name, cons
void ED_SHORTCUT_OVERRIDE(const String &p_path, const String &p_feature, Key p_keycode = Key::NONE, bool p_physical = false);
void ED_SHORTCUT_OVERRIDE_ARRAY(const String &p_path, const String &p_feature, const PackedInt32Array &p_keycodes, bool p_physical = false);
Ref<Shortcut> ED_GET_SHORTCUT(const String &p_path);
#endif // EDITOR_SETTINGS_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_SETTINGS_DIALOG_H
#define EDITOR_SETTINGS_DIALOG_H
#pragma once
#include "scene/gui/dialogs.h"
@ -139,5 +138,3 @@ public:
EditorSettingsDialog();
~EditorSettingsDialog();
};
#endif // EDITOR_SETTINGS_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_STRING_NAMES_H
#define EDITOR_STRING_NAMES_H
#pragma once
#include "core/string/string_name.h"
@ -52,5 +51,3 @@ public:
};
#define EditorStringName(m_name) EditorStringNames::get_singleton()->m_name
#endif // EDITOR_STRING_NAMES_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_TRANSLATION_H
#define EDITOR_TRANSLATION_H
#pragma once
#include "core/string/ustring.h"
#include "core/templates/vector.h"
@ -40,5 +39,3 @@ void load_property_translations(const String &p_locale);
void load_doc_translations(const String &p_locale);
void load_extractable_translations(const String &p_locale);
Vector<Vector<String>> get_extractable_message_list();
#endif // EDITOR_TRANSLATION_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_TRANSLATION_PARSER_H
#define EDITOR_TRANSLATION_PARSER_H
#pragma once
#include "core/error/error_list.h"
#include "core/object/gdvirtual.gen.inc"
@ -78,5 +77,3 @@ public:
EditorTranslationParser();
~EditorTranslationParser();
};
#endif // EDITOR_TRANSLATION_PARSER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_UNDO_REDO_MANAGER_H
#define EDITOR_UNDO_REDO_MANAGER_H
#pragma once
#include "core/object/object.h"
#include "core/object/undo_redo.h"
@ -144,5 +143,3 @@ public:
};
VARIANT_ENUM_CAST(EditorUndoRedoManager::SpecialHistory);
#endif // EDITOR_UNDO_REDO_MANAGER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_VCS_INTERFACE_H
#define EDITOR_VCS_INTERFACE_H
#pragma once
#include "core/object/gdvirtual.gen.inc"
#include "core/string/ustring.h"
@ -177,5 +176,3 @@ public:
VARIANT_ENUM_CAST(EditorVCSInterface::ChangeType);
VARIANT_ENUM_CAST(EditorVCSInterface::TreeArea);
#endif // EDITOR_VCS_INTERFACE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ENGINE_UPDATE_LABEL_H
#define ENGINE_UPDATE_LABEL_H
#pragma once
#include "scene/gui/link_button.h"
@ -99,5 +98,3 @@ protected:
public:
EngineUpdateLabel();
};
#endif // ENGINE_UPDATE_LABEL_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EVENT_LISTENER_LINE_EDIT_H
#define EVENT_LISTENER_LINE_EDIT_H
#pragma once
#include "scene/gui/line_edit.h"
@ -75,5 +74,3 @@ public:
public:
EventListenerLineEdit();
};
#endif // EVENT_LISTENER_LINE_EDIT_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef CODESIGN_H
#define CODESIGN_H
#pragma once
// macOS code signature creation utility.
//
@ -351,5 +350,3 @@ class CodeSign {
public:
static Error codesign(bool p_use_hardened_runtime, bool p_force, const String &p_path, const String &p_ent_path, String &r_error_msg);
};
#endif // CODESIGN_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPORT_H
#define EDITOR_EXPORT_H
#pragma once
#include "editor_export_platform.h"
#include "editor_export_plugin.h"
@ -86,5 +85,3 @@ public:
EditorExport();
~EditorExport();
};
#endif // EDITOR_EXPORT_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPORT_PLATFORM_H
#define EDITOR_EXPORT_PLATFORM_H
#pragma once
class EditorFileSystemDirectory;
struct EditorProgress;
@ -343,5 +342,3 @@ public:
VARIANT_ENUM_CAST(EditorExportPlatform::ExportMessageType)
VARIANT_BITFIELD_CAST(EditorExportPlatform::DebugFlags);
#endif // EDITOR_EXPORT_PLATFORM_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPORT_PLATFORM_EXTENSION_H
#define EDITOR_EXPORT_PLATFORM_EXTENSION_H
#pragma once
#include "editor_export_platform.h"
#include "editor_export_preset.h"
@ -151,5 +150,3 @@ public:
EditorExportPlatformExtension();
~EditorExportPlatformExtension();
};
#endif // EDITOR_EXPORT_PLATFORM_EXTENSION_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPORT_PLATFORM_PC_H
#define EDITOR_EXPORT_PLATFORM_PC_H
#pragma once
#include "editor_export_platform.h"
@ -78,5 +77,3 @@ public:
return Error::OK;
}
};
#endif // EDITOR_EXPORT_PLATFORM_PC_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPORT_PLUGIN_H
#define EDITOR_EXPORT_PLUGIN_H
#pragma once
#include "core/os/shared_object.h"
#include "editor_export_platform.h"
@ -186,5 +185,3 @@ public:
const Vector<String> &get_macos_plugin_files() const;
Variant get_option(const StringName &p_name) const;
};
#endif // EDITOR_EXPORT_PLUGIN_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_EXPORT_PRESET_H
#define EDITOR_EXPORT_PRESET_H
#pragma once
class EditorExportPlatform;
@ -202,5 +201,3 @@ public:
VARIANT_ENUM_CAST(EditorExportPreset::ExportFilter);
VARIANT_ENUM_CAST(EditorExportPreset::FileExportMode);
VARIANT_ENUM_CAST(EditorExportPreset::ScriptExportMode);
#endif // EDITOR_EXPORT_PRESET_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EXPORT_TEMPLATE_MANAGER_H
#define EXPORT_TEMPLATE_MANAGER_H
#pragma once
#include "scene/gui/dialogs.h"
@ -134,5 +133,3 @@ public:
ExportTemplateManager();
};
#endif // EXPORT_TEMPLATE_MANAGER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef LIPO_H
#define LIPO_H
#pragma once
// Universal / Universal 2 fat binary file creator and extractor.
@ -68,5 +67,3 @@ public:
~LipO();
};
#endif // LIPO_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef MACHO_H
#define MACHO_H
#pragma once
// Mach-O binary object file format parser and editor.
@ -222,5 +221,3 @@ public:
uint64_t get_signature_size();
bool set_signature_size(uint64_t p_size);
};
#endif // MACHO_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef PROJECT_EXPORT_H
#define PROJECT_EXPORT_H
#pragma once
#include "editor/export/editor_export_preset.h"
#include "scene/gui/dialogs.h"
@ -224,5 +223,3 @@ public:
ProjectExportDialog();
~ProjectExportDialog();
};
#endif // PROJECT_EXPORT_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef PROJECT_ZIP_PACKER_H
#define PROJECT_ZIP_PACKER_H
#pragma once
#include "core/io/zip_io.h"
#include "core/variant/variant.h"
@ -42,5 +41,3 @@ public:
static String get_project_zip_safe_name();
static void pack_project_zip(const String &p_path);
};
#endif // PROJECT_ZIP_PACKER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef FBX_IMPORTER_MANAGER_H
#define FBX_IMPORTER_MANAGER_H
#pragma once
#include "editor/gui/editor_file_dialog.h"
#include "scene/gui/dialogs.h"
@ -65,5 +64,3 @@ public:
FBXImporterManager();
};
#endif // FBX_IMPORTER_MANAGER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef FILE_INFO_H
#define FILE_INFO_H
#pragma once
#include "core/string/string_name.h"
#include "core/templates/list.h"
@ -71,5 +70,3 @@ struct FileInfoModifiedTimeComparator {
};
void sort_file_info_list(List<FileInfo> &r_file_list, FileSortOption p_file_sort_option);
#endif // FILE_INFO_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef FILESYSTEM_DOCK_H
#define FILESYSTEM_DOCK_H
#pragma once
#include "editor/dependency_editor.h"
#include "editor/editor_file_system.h"
@ -422,5 +421,3 @@ public:
};
VARIANT_ENUM_CAST(FileSystemDock::Overwrite);
#endif // FILESYSTEM_DOCK_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef FIND_IN_FILES_H
#define FIND_IN_FILES_H
#pragma once
#include "core/templates/hash_map.h"
#include "scene/gui/dialogs.h"
@ -221,5 +220,3 @@ private:
LineEdit *_replace_line_edit = nullptr;
Button *_replace_all_button = nullptr;
};
#endif // FIND_IN_FILES_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef GROUP_SETTINGS_EDITOR_H
#define GROUP_SETTINGS_EDITOR_H
#pragma once
#include "scene/gui/dialogs.h"
@ -104,5 +103,3 @@ public:
GroupSettingsEditor();
};
#endif // GROUP_SETTINGS_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef GROUPS_EDITOR_H
#define GROUPS_EDITOR_H
#pragma once
#include "scene/gui/dialogs.h"
@ -140,5 +139,3 @@ public:
GroupsEditor();
~GroupsEditor();
};
#endif // GROUPS_EDITOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_BOTTOM_PANEL_H
#define EDITOR_BOTTOM_PANEL_H
#pragma once
#include "scene/gui/panel_container.h"
@ -90,5 +89,3 @@ public:
EditorBottomPanel();
};
#endif // EDITOR_BOTTOM_PANEL_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_DIR_DIALOG_H
#define EDITOR_DIR_DIALOG_H
#pragma once
#include "scene/gui/dialogs.h"
@ -73,5 +72,3 @@ public:
EditorDirDialog();
};
#endif // EDITOR_DIR_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_FILE_DIALOG_H
#define EDITOR_FILE_DIALOG_H
#pragma once
#include "core/io/dir_access.h"
#include "editor/file_info.h"
@ -378,5 +377,3 @@ public:
VARIANT_ENUM_CAST(EditorFileDialog::FileMode);
VARIANT_ENUM_CAST(EditorFileDialog::Access);
VARIANT_ENUM_CAST(EditorFileDialog::DisplayMode);
#endif // EDITOR_FILE_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_OBJECT_SELECTOR_H
#define EDITOR_OBJECT_SELECTOR_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
@ -68,5 +67,3 @@ public:
EditorObjectSelector(EditorSelectionHistory *p_history);
};
#endif // EDITOR_OBJECT_SELECTOR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_QUICK_OPEN_DIALOG_H
#define EDITOR_QUICK_OPEN_DIALOG_H
#pragma once
#include "core/templates/oa_hash_map.h"
#include "scene/gui/dialogs.h"
@ -268,5 +267,3 @@ private:
void _search_box_text_changed(const String &p_query);
};
#endif // EDITOR_QUICK_OPEN_DIALOG_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_RUN_BAR_H
#define EDITOR_RUN_BAR_H
#pragma once
#include "editor/editor_run.h"
#include "editor/export/editor_export.h"
@ -132,5 +131,3 @@ public:
EditorRunBar();
};
#endif // EDITOR_RUN_BAR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_SCENE_TABS_H
#define EDITOR_SCENE_TABS_H
#pragma once
#include "scene/gui/margin_container.h"
@ -106,5 +105,3 @@ public:
EditorSceneTabs();
};
#endif // EDITOR_SCENE_TABS_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_SPIN_SLIDER_H
#define EDITOR_SPIN_SLIDER_H
#pragma once
#include "scene/gui/line_edit.h"
#include "scene/gui/range.h"
@ -131,5 +130,3 @@ public:
virtual Size2 get_minimum_size() const override;
EditorSpinSlider();
};
#endif // EDITOR_SPIN_SLIDER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_TITLE_BAR_H
#define EDITOR_TITLE_BAR_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/main/window.h"
@ -49,5 +48,3 @@ public:
void set_can_move_window(bool p_enabled);
bool get_can_move_window() const;
};
#endif // EDITOR_TITLE_BAR_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_TOASTER_H
#define EDITOR_TOASTER_H
#pragma once
#include "scene/gui/box_container.h"
@ -125,5 +124,3 @@ public:
};
VARIANT_ENUM_CAST(EditorToaster::Severity);
#endif // EDITOR_TOASTER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_VALIDATION_PANEL_H
#define EDITOR_VALIDATION_PANEL_H
#pragma once
#include "scene/gui/panel_container.h"
@ -84,5 +83,3 @@ public:
EditorValidationPanel();
};
#endif // EDITOR_VALIDATION_PANEL_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_VERSION_BUTTON_H
#define EDITOR_VERSION_BUTTON_H
#pragma once
#include "scene/gui/link_button.h"
@ -57,5 +56,3 @@ protected:
public:
EditorVersionButton(VersionFormat p_format);
};
#endif // EDITOR_VERSION_BUTTON_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef EDITOR_ZOOM_WIDGET_H
#define EDITOR_ZOOM_WIDGET_H
#pragma once
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
@ -67,5 +66,3 @@ public:
// Sets the shortcut context for the zoom buttons. By default their context is this EditorZoomWidget control.
void set_shortcut_context(Node *p_node) const;
};
#endif // EDITOR_ZOOM_WIDGET_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef SCENE_TREE_EDITOR_H
#define SCENE_TREE_EDITOR_H
#pragma once
#include "scene/gui/check_box.h"
#include "scene/gui/check_button.h"
@ -293,5 +292,3 @@ public:
SceneTreeDialog();
~SceneTreeDialog();
};
#endif // SCENE_TREE_EDITOR_H

Some files were not shown because too many files have changed in this diff Show More