Add log actions

This commit is contained in:
SweetId
2023-10-16 19:38:22 -04:00
parent eb35ee8050
commit 14b5088e26
6 changed files with 79 additions and 0 deletions

View File

@@ -3,6 +3,8 @@
#include <NazaraEditor/Core/Core.hpp>
#include <NazaraEditor/Core/Application/Action.hpp>
#include <NazaraEditor/Core/Application/ActionStack.hpp>
#include <NazaraEditor/Core/Application/Actions/EditorAction_Log_Clear.hpp>
#include <NazaraEditor/Core/Application/Actions/EditorAction_Log_CopyToClipboard.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_Log_Clear final
: public EditorAction
{
EDITORACTION_BODY(EditorAction_Log_Clear, false);
public:
void Execute() override;
};
}

View File

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