From d670208e564bfe6dd2453238b2e52d8877b491e2 Mon Sep 17 00:00:00 2001 From: SweetId <2630750+SweetId@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:57:16 -0400 Subject: [PATCH] renaming EditorAction_Level_New to EditorAction_Level and adding empty Open and Save --- .../Actions/EditorAction_Level.hpp | 33 +++++++++++++++++++ .../Actions/EditorAction_Level_New.hpp | 15 --------- ...n_Level_New.cpp => EditorAction_Level.cpp} | 12 ++++++- 3 files changed, 44 insertions(+), 16 deletions(-) create mode 100644 include/NazaraEditor/Core/Application/Actions/EditorAction_Level.hpp delete mode 100644 include/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.hpp rename src/NazaraEditor/Core/Application/Actions/{EditorAction_Level_New.cpp => EditorAction_Level.cpp} (81%) diff --git a/include/NazaraEditor/Core/Application/Actions/EditorAction_Level.hpp b/include/NazaraEditor/Core/Application/Actions/EditorAction_Level.hpp new file mode 100644 index 0000000..d7fa881 --- /dev/null +++ b/include/NazaraEditor/Core/Application/Actions/EditorAction_Level.hpp @@ -0,0 +1,33 @@ +#pragma once + +#include + +namespace Nz +{ + class NAZARAEDITOR_CORE_API EditorAction_Level_New final + : public EditorAction + { + EDITORACTION_BODY(EditorAction_Level_New, false); + + public: + void Execute() override; + }; + + class NAZARAEDITOR_CORE_API EditorAction_Level_Open final + : public EditorAction + { + EDITORACTION_BODY(EditorAction_Level_Open, false); + + public: + void Execute() override; + }; + + class NAZARAEDITOR_CORE_API EditorAction_Level_Save final + : public EditorAction + { + EDITORACTION_BODY(EditorAction_Level_Save, false); + + public: + void Execute() override; + }; +} \ No newline at end of file diff --git a/include/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.hpp b/include/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.hpp deleted file mode 100644 index 4cfd1b9..0000000 --- a/include/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include - -namespace Nz -{ - class NAZARAEDITOR_CORE_API EditorAction_Level_New final - : public EditorAction - { - EDITORACTION_BODY(EditorAction_Level_New, false); - - public: - void Execute() override; - }; -} \ No newline at end of file diff --git a/src/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.cpp b/src/NazaraEditor/Core/Application/Actions/EditorAction_Level.cpp similarity index 81% rename from src/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.cpp rename to src/NazaraEditor/Core/Application/Actions/EditorAction_Level.cpp index 48abdf3..7d55ec1 100644 --- a/src/NazaraEditor/Core/Application/Actions/EditorAction_Level_New.cpp +++ b/src/NazaraEditor/Core/Application/Actions/EditorAction_Level.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include @@ -21,4 +21,14 @@ namespace Nz }); } + + void EditorAction_Level_Open::Execute() + { + // TODO + } + + void EditorAction_Level_Save::Execute() + { + // TODO + } } \ No newline at end of file