MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
SPlainTextDisplay.h
Go to the documentation of this file.
1
/** @noop License Comment
2
* @file
3
* @copyright
4
* This Source Code is subject to the terms of the Mozilla Public License, v2.0.
5
* If a copy of the MPL was not distributed with this file You can obtain one at
6
* https://mozilla.org/MPL/2.0/
7
*
8
* @author David Mórász
9
* @date 2025
10
*/
11
12
#pragma once
13
14
#include "CoreMinimal.h"
15
#include "Widgets/SCompoundWidget.h"
16
#include "
Mcro/Error/SErrorDisplay.h
"
17
18
namespace
Mcro::Error
19
{
20
/** @brief Displaying error components which just provide a block of text (like a stack-trace) */
21
class
MCRO_API
SPlainTextDisplay
:
public
SErrorDisplay
22
{
23
public
:
24
SLATE_BEGIN_ARGS
(
SPlainTextDisplay
) {}
25
SLATE_ARGUMENT
(
IErrorPtr
, Error);
26
SLATE_END_ARGS()
27
28
void Construct(const FArguments& inArgs);
29
};
30
}
SErrorDisplay.h
Mcro::Error::SErrorDisplay
Base class for displaying Mcro::Error::IError objects to the user.
Definition
SErrorDisplay.h:48
Mcro::Error::SPlainTextDisplay
Displaying error components which just provide a block of text (like a stack-trace)
Definition
SPlainTextDisplay.h:22
Mcro::Error::SPlainTextDisplay::SLATE_BEGIN_ARGS
SLATE_BEGIN_ARGS(SPlainTextDisplay)
Definition
SPlainTextDisplay.h:24
Mcro::Error::SPlainTextDisplay::SLATE_ARGUMENT
SLATE_ARGUMENT(IErrorPtr, Error)
Mcro::Error
Contains utilities for structured error handling.
Definition
Error.Fwd.h:19
Mcro::Error::IErrorPtr
TSharedPtr< IError > IErrorPtr
Convenience alias for an instance of an error.
Definition
Error.Fwd.h:26
Mcro
Public
Mcro
Error
SPlainTextDisplay.h
Generated by
1.12.0