renaming EditorAction_Level_New to EditorAction_Level and adding empty Open and Save

This commit is contained in:
SweetId 2023-10-21 16:57:16 -04:00
parent 1b5a2fd851
commit d670208e56
3 changed files with 44 additions and 16 deletions

View File

@ -0,0 +1,33 @@
#pragma once
#include <NazaraEditor/Core/Application/Action.hpp>
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;
};
}

View File

@ -1,15 +0,0 @@
#pragma once
#include <NazaraEditor/Core/Application/Action.hpp>
namespace Nz
{
class NAZARAEDITOR_CORE_API EditorAction_Level_New final
: public EditorAction
{
EDITORACTION_BODY(EditorAction_Level_New, false);
public:
void Execute() override;
};
}

View File

@ -1,4 +1,4 @@
#include <NazaraEditor/Core/Application/Actions/EditorAction_Level_New.hpp> #include <NazaraEditor/Core/Application/Actions/EditorAction_Level.hpp>
#include <NazaraEditor/Core/Application/BaseApplication.hpp> #include <NazaraEditor/Core/Application/BaseApplication.hpp>
#include <NazaraEditor/Core/UI/PopupManager.hpp> #include <NazaraEditor/Core/UI/PopupManager.hpp>
@ -21,4 +21,14 @@ namespace Nz
}); });
} }
void EditorAction_Level_Open::Execute()
{
// TODO
}
void EditorAction_Level_Save::Execute()
{
// TODO
}
} }