You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-147192 #rb Lauren.Barnes #preflight 623dd663a67e4e1ab7031588 [CL 19512940 by Dominik Peacock in ue5-main branch]
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
enum class EOutputLogSettingsMenuFlags
|
|
{
|
|
None = 0x00,
|
|
|
|
/** The clear on Pie button should not be created */
|
|
SkipClearOnPie = 0x01,
|
|
/** The Enable world wrapping button should not be created */
|
|
SkipEnableWordWrapping = 0x02,
|
|
|
|
/** Skip the button that opens the source folder of the output log module */
|
|
SkipOpenSourceButton = 0x03,
|
|
/** Skip the button which opens the log in a text editor */
|
|
SkipOpenInExternalEditorButton = 0x04
|
|
|
|
};
|
|
ENUM_CLASS_FLAGS(EOutputLogSettingsMenuFlags)
|
|
|
|
DECLARE_DELEGATE_RetVal_OneParam(bool, FAllowLogCategoryCallback, const FName);
|
|
using FDefaultCategorySelectionMap = TMap<FName, bool>;
|
|
|
|
struct FOutputLogCreationParams
|
|
{
|
|
/** Whether to create the button for docking the log */
|
|
bool bCreateDockInLayoutButton = false;
|
|
|
|
/** Determines what entries the Settings drop-down will ignore */
|
|
EOutputLogSettingsMenuFlags SettingsMenuCreationFlags = EOutputLogSettingsMenuFlags::None;
|
|
|
|
/** Called when building the initial set of selected log categories */
|
|
FAllowLogCategoryCallback AllowAsInitialLogCategory;
|
|
|
|
/** Maps each log category to whether it should be selected or deselected by default. The caller is responsible to enter valid category names. */
|
|
FDefaultCategorySelectionMap DefaultCategorySelection;
|
|
|
|
FSimpleDelegate OnCloseConsole;
|
|
}; |