UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MacConsoleOutputDevice.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
8@interface FMacConsoleWindow : NSWindow<NSWindowDelegate>
9@end
10
15{
16private:
18 FMacConsoleWindow* ConsoleHandle;
19
21 NSTextView* TextView;
22
24 NSScrollView* ScrollView;
25
27 NSDictionary* TextViewTextColor;
28
30 FCriticalSection CriticalSection;
31
33 uint64 OutstandingTasks;
34
36 ELogVerbosity::Type AllowedLogVerbosity = ELogVerbosity::All;
37
41 void SaveToINI();
42
46 void CreateConsole();
47
51 void DestroyConsole();
52
56 void SetDefaultTextColor();
57
58public:
59
65
71 virtual void Show( bool ShowWindow );
72
78 virtual bool IsShown();
79
80 virtual bool IsAttached() { return false; }
81
88 void Serialize( const TCHAR* Data, ELogVerbosity::Type Verbosity, const class FName& Category );
89};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE::FPlatformRecursiveMutex FCriticalSection
Definition CriticalSection.h:53
Definition MacConsoleOutputDevice.h:15
virtual bool IsAttached()
Definition MacConsoleOutputDevice.h:80
Definition MacConsoleOutputDevice.cpp:292
Definition NameTypes.h:617
Definition OutputDeviceConsole.h:14
Type
Definition LogVerbosity.h:17
@ All
Definition LogVerbosity.h:56