add Quit action

This commit is contained in:
SweetId
2023-10-17 18:19:53 -04:00
parent 6f965e5218
commit 00d0793b67
4 changed files with 46 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#include <NazaraEditor/Core/Application/Actions/EditorAction_Level_New.hpp>
#include <NazaraEditor/Core/Application/Actions/EditorAction_Log_Clear.hpp>
#include <NazaraEditor/Core/Application/Actions/EditorAction_Log_CopyToClipboard.hpp>
#include <NazaraEditor/Core/Application/Actions/EditorAction_Quit.hpp>
#include <NazaraEditor/Core/Application/BaseApplication.hpp>
#include <NazaraEditor/Core/Application/EditorLogger.hpp>
#include <NazaraEditor/Core/Application/Level.hpp>

View File

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