renaming EditorAction_Level_New to EditorAction_Level and adding empty Open and Save
This commit is contained in:
parent
1b5a2fd851
commit
d670208e56
|
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue